Uses of Interface
org.apache.sshd.common.util.io.functors.IOFunction
-
Packages that use IOFunction Package Description org.apache.sshd.common.util.io.functors org.apache.sshd.common.util.threads org.apache.sshd.scp.client org.apache.sshd.sftp.client.fs org.apache.sshd.sftp.client.impl -
-
Uses of IOFunction in org.apache.sshd.common.util.io.functors
Methods in org.apache.sshd.common.util.io.functors that return IOFunction Modifier and Type Method Description default <V> IOFunction<T,V>IOFunction. andThen(IOFunction<? super R,? extends V> after)Returns a composed function that first applies this function to its input, and then applies theafterfunction to the result.default <V> IOFunction<V,R>IOFunction. compose(IOFunction<? super V,? extends T> before)Returns a composed function that first applies thebeforefunction to its input, and then applies this function to the result.static <T> IOFunction<T,T>IOFunction. identity()Returns a function that always returns its input argument.Methods in org.apache.sshd.common.util.io.functors with parameters of type IOFunction Modifier and Type Method Description default <V> IOFunction<T,V>IOFunction. andThen(IOFunction<? super R,? extends V> after)Returns a composed function that first applies this function to its input, and then applies theafterfunction to the result.default <V> IOFunction<V,R>IOFunction. compose(IOFunction<? super V,? extends T> before)Returns a composed function that first applies thebeforefunction to its input, and then applies this function to the result. -
Uses of IOFunction in org.apache.sshd.common.util.threads
Methods in org.apache.sshd.common.util.threads with parameters of type IOFunction Modifier and Type Method Description static <T,V>
VThreadUtils. runAsInternal(T param, IOFunction<? super T,V> code)Runs anIOFunctionwith a flag set indicating that the executing thread is an Apache MINA sshd framework-internal thread. -
Uses of IOFunction in org.apache.sshd.scp.client
Methods in org.apache.sshd.scp.client with parameters of type IOFunction Modifier and Type Method Description protected CloseableScpClientSimpleScpClientImpl. createScpClient(IOFunction<? super SimpleClient,? extends ClientSession> sessionProvider) -
Uses of IOFunction in org.apache.sshd.sftp.client.fs
Classes in org.apache.sshd.sftp.client.fs that implement IOFunction Modifier and Type Class Description private classSftpFileSystemProvider.SessionProviderA session provider that automatically creates a new session if the current one is no longer open (or if there isn't one yet).Fields in org.apache.sshd.sftp.client.fs declared as IOFunction Modifier and Type Field Description private IOFunction<java.lang.Boolean,ClientSession>SftpFileSystemAutomatic. sessionProviderMethods in org.apache.sshd.sftp.client.fs with parameters of type IOFunction Modifier and Type Method Description default SftpFileSystemSftpFileSystemClientSessionInitializer. createSftpFileSystem(SftpFileSystemProvider provider, SftpFileSystemInitializationContext context, IOFunction<java.lang.Boolean,ClientSession> sessionProvider, SftpVersionSelector selector, SftpErrorDataHandler errorDataHandler)Invoked by theSftpFileSystemProvider.newFileSystem(java.net.URI, Map)method in order to create theSftpFileSystemonce session has been authenticated.static <T> TWithFileAttributeCache. withAttributeCache(java.nio.file.Path path, IOFunction<java.nio.file.Path,T> operation)Performs the given operation with attribute caching, if the givenPathimplements theWithFileAttributeCacheinterface, otherwise simply executes the operation.<T> TWithFileAttributeCache. withAttributeCache(IOFunction<java.nio.file.Path,T> operation)Performs the given operation with attribute caching.Constructors in org.apache.sshd.sftp.client.fs with parameters of type IOFunction Constructor Description SftpFileSystemAutomatic(SftpFileSystemProvider provider, java.lang.String id, IOFunction<java.lang.Boolean,ClientSession> sessionProvider, SftpClientFactory factory, SftpVersionSelector selector, SftpErrorDataHandler errorDataHandler) -
Uses of IOFunction in org.apache.sshd.sftp.client.impl
Methods in org.apache.sshd.sftp.client.impl with parameters of type IOFunction Modifier and Type Method Description protected SftpClientSimpleSftpClientImpl. createSftpClient(IOFunction<? super SimpleClient,? extends ClientSession> sessionProvider)<T> TSftpPathImpl. withAttributeCache(IOFunction<java.nio.file.Path,T> operation)
-