default void |
SftpFileSystemAccessor.closeDirectory(ServerSession session,
SftpEventListenerManager subsystem,
DirectoryHandle dirHandle,
Path dir,
String handle,
DirectoryStream<Path> ds) |
Called when a directory stream is no longer required
|
default void |
SftpFileSystemAccessor.closeFile(ServerSession session,
SftpEventListenerManager subsystem,
FileHandle fileHandle,
Path file,
String handle,
Channel channel,
Set<? extends OpenOption> options) |
Called to inform the accessor that it should close the file
|
default DirectoryStream<Path> |
SftpFileSystemAccessor.openDirectory(ServerSession session,
SftpEventListenerManager subsystem,
DirectoryHandle dirHandle,
Path dir,
String handle) |
Called when a new directory stream is requested
|
default SeekableByteChannel |
SftpFileSystemAccessor.openFile(ServerSession session,
SftpEventListenerManager subsystem,
FileHandle fileHandle,
Path file,
String handle,
Set<? extends OpenOption> options,
FileAttribute<?>... attrs) |
Called whenever a new file is opened
|
default void |
SftpFileSystemAccessor.syncFileData(ServerSession session,
SftpEventListenerManager subsystem,
FileHandle fileHandle,
Path file,
String handle,
Channel channel) |
Called when file meta-data re-synchronization is required
|
default FileLock |
SftpFileSystemAccessor.tryLock(ServerSession session,
SftpEventListenerManager subsystem,
FileHandle fileHandle,
Path file,
String handle,
Channel channel,
long position,
long size,
boolean shared) |
Called when locking a section of a file is requested
|