Interface AbstractFileSystem<T extends AbstractFile>

    • Method Detail

      • connect

        void connect()
      • getFromPath

        T getFromPath​(String path)
      • getIOBufferSize

        default int getIOBufferSize()
        65535 bytes
      • setTimeout

        default void setTimeout​(long duration,
                                TimeUnit unit)
        Set socket/connection timeout.
      • isReusable

        boolean isReusable()
        If disconnected, can we re-connect after ?
      • isAvaliable

        boolean isAvaliable()
      • reusableHashCode

        int reusableHashCode()
        Returns:
        the same code for the same internal engine instance in FileSystem. Can be used for interract two FS and protect the both are not the same.