Class FilesMatch

  • Direct Known Subclasses:
    FilesMatchPartial

    public class FilesMatch
    extends java.lang.Object
    • Field Detail

      • file

        protected final java.nio.file.Path file
      • rFile

        protected final java.lang.String rFile
      • invalidateRemoteMD5CacheEntry

        protected boolean invalidateRemoteMD5CacheEntry
      • length

        protected final long length
      • 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.IOException
        unlimited.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.IOException
        unlimited.core.util.common.exception.FCException