Class FilesMatch
- java.lang.Object
-
- unlimited.fc.client.transferhandler.FilesMatch
-
- Direct Known Subclasses:
FilesMatchPartial
public class FilesMatch extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.function.BooleanSuppliercancelHandlerprotected java.nio.file.Pathfileprotected FilesMatchHandlerfilesMatchHandlerprotected booleaninvalidateRemoteMD5CacheEntryprotected longlengthprotected java.util.function.BooleanSupplierlocalCancelHandlerprotected longoffsetprotected booleanoldInvalidateRemoteMD5CacheEntryprotected MD5Resultresultprotected java.lang.StringrFileprotected longrttTimer
-
Constructor Summary
Constructors Constructor Description FilesMatch(java.nio.file.Path file, java.lang.String rFile, boolean invalidateRemoteMD5CacheEntry, FilesMatchHandler filesMatchHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MD5ResultaccessResult()MD5ResultfilesMatch()protected java.lang.StringgetLocalMD5()protected java.lang.StringgetLocalMD5ThreadName()protected java.lang.StringgetMD5Key()protected java.lang.StringgetRemoteMD5()
-
-
-
Field Detail
-
file
protected final java.nio.file.Path file
-
rFile
protected final java.lang.String rFile
-
invalidateRemoteMD5CacheEntry
protected boolean invalidateRemoteMD5CacheEntry
-
filesMatchHandler
protected final FilesMatchHandler filesMatchHandler
-
offset
protected final long offset
- See Also:
- Constant Field Values
-
length
protected final long length
-
result
protected final MD5Result result
-
cancelHandler
protected final java.util.function.BooleanSupplier cancelHandler
-
localCancelHandler
protected final java.util.function.BooleanSupplier localCancelHandler
-
rttTimer
protected long rttTimer
-
oldInvalidateRemoteMD5CacheEntry
protected boolean oldInvalidateRemoteMD5CacheEntry
-
-
Constructor Detail
-
FilesMatch
public FilesMatch(java.nio.file.Path file, java.lang.String rFile, boolean invalidateRemoteMD5CacheEntry, FilesMatchHandler filesMatchHandler) throws java.io.IOException- Throws:
java.io.IOException
-
-
Method Detail
-
filesMatch
public final MD5Result filesMatch() throws java.io.IOException, unlimited.core.util.common.exception.FCException
- Throws:
java.io.IOExceptionunlimited.core.util.common.exception.FCException
-
accessResult
public MD5Result accessResult()
-
getLocalMD5ThreadName
protected java.lang.String getLocalMD5ThreadName()
-
getMD5Key
protected java.lang.String getMD5Key()
-
getLocalMD5
protected java.lang.String getLocalMD5() throws java.lang.Exception- Throws:
java.lang.Exception
-
getRemoteMD5
protected java.lang.String getRemoteMD5() throws java.io.IOException, unlimited.core.util.common.exception.FCException- Throws:
java.io.IOExceptionunlimited.core.util.common.exception.FCException
-
-