public class FilesMatch
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.function.BooleanSupplier |
cancelHandler |
protected java.nio.file.Path |
file |
protected FilesMatchHandler |
filesMatchHandler |
protected boolean |
invalidateRemoteMD5CacheEntry |
protected long |
length |
protected java.util.function.BooleanSupplier |
localCancelHandler |
protected long |
offset |
protected boolean |
oldInvalidateRemoteMD5CacheEntry |
protected MD5Result |
result |
protected java.lang.String |
rFile |
protected long |
rttTimer |
| Constructor and Description |
|---|
FilesMatch(java.nio.file.Path file,
java.lang.String rFile,
boolean invalidateRemoteMD5CacheEntry,
FilesMatchHandler filesMatchHandler) |
| Modifier and Type | Method and Description |
|---|---|
MD5Result |
accessResult() |
MD5Result |
filesMatch() |
protected java.lang.String |
getLocalMD5() |
protected java.lang.String |
getLocalMD5ThreadName() |
protected java.lang.String |
getMD5Key() |
protected java.lang.String |
getRemoteMD5() |
protected final java.nio.file.Path file
protected final java.lang.String rFile
protected boolean invalidateRemoteMD5CacheEntry
protected final FilesMatchHandler filesMatchHandler
protected final long offset
protected final long length
protected final MD5Result result
protected final java.util.function.BooleanSupplier cancelHandler
protected final java.util.function.BooleanSupplier localCancelHandler
protected long rttTimer
protected boolean oldInvalidateRemoteMD5CacheEntry
public FilesMatch(java.nio.file.Path file,
java.lang.String rFile,
boolean invalidateRemoteMD5CacheEntry,
FilesMatchHandler filesMatchHandler)
throws java.io.IOException
java.io.IOExceptionpublic final MD5Result filesMatch() throws java.io.IOException, FCException
java.io.IOExceptionFCExceptionpublic MD5Result accessResult()
protected java.lang.String getLocalMD5ThreadName()
protected java.lang.String getMD5Key()
protected java.lang.String getLocalMD5()
throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String getRemoteMD5()
throws java.io.IOException,
FCException
java.io.IOExceptionFCException