static class PartialFile.Factory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOGGER |
private int |
requestTimeout |
private boolean |
resume |
private long |
resumeThreshold |
Constructor and Description |
---|
Factory(boolean resume,
long resumeThreshold,
int requestTimeout) |
Modifier and Type | Method and Description |
---|---|
PartialFile |
newInstance(java.io.File dstFile,
PartialFile.RemoteAccessChecker checker) |
private final boolean resume
private final long resumeThreshold
private final int requestTimeout
private static final org.slf4j.Logger LOGGER
public PartialFile newInstance(java.io.File dstFile, PartialFile.RemoteAccessChecker checker) throws java.lang.Exception
java.lang.Exception