Class OpenSSHFsyncExtensionImpl
- java.lang.Object
-
- org.apache.sshd.common.util.logging.AbstractLoggingBean
-
- org.apache.sshd.sftp.client.extensions.helpers.AbstractSftpClientExtension
-
- org.apache.sshd.sftp.client.extensions.openssh.helpers.OpenSSHFsyncExtensionImpl
-
- All Implemented Interfaces:
NamedResource
,OptionalFeature
,OpenSSHFsyncExtension
,SftpClientExtension
,RawSftpClient
public class OpenSSHFsyncExtensionImpl extends AbstractSftpClientExtension implements OpenSSHFsyncExtension
-
-
Field Summary
-
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
-
Fields inherited from interface org.apache.sshd.common.OptionalFeature
FALSE, TRUE
-
-
Constructor Summary
Constructors Constructor Description OpenSSHFsyncExtensionImpl(SftpClient client, RawSftpClient raw, java.util.Map<java.lang.String,byte[]> extensions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fsync(SftpClient.Handle fileHandle)
-
Methods inherited from class org.apache.sshd.sftp.client.extensions.helpers.AbstractSftpClientExtension
checkExtendedReplyBuffer, checkStatus, getClient, getCommandBuffer, getCommandBuffer, getCommandBuffer, getName, isSupported, putTarget, receive, receive, receive, send, sendAndCheckExtendedCommandStatus, sendExtendedCommand, throwStatusException, validateIncomingResponse
-
Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.sshd.common.NamedResource
getName
-
Methods inherited from interface org.apache.sshd.common.OptionalFeature
isSupported
-
Methods inherited from interface org.apache.sshd.sftp.client.extensions.SftpClientExtension
getClient
-
-
-
-
Constructor Detail
-
OpenSSHFsyncExtensionImpl
public OpenSSHFsyncExtensionImpl(SftpClient client, RawSftpClient raw, java.util.Map<java.lang.String,byte[]> extensions)
-
-
Method Detail
-
fsync
public void fsync(SftpClient.Handle fileHandle) throws java.io.IOException
- Specified by:
fsync
in interfaceOpenSSHFsyncExtension
- Throws:
java.io.IOException
-
-