Uses of Interface
org.apache.sshd.common.util.io.functors.IOFunction
Packages that use IOFunction
Package
Description
-
Uses of IOFunction in org.apache.sshd.common.util.io.functors
Methods in org.apache.sshd.common.util.io.functors that return IOFunctionModifier and TypeMethodDescriptiondefault <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 theafter
function to the result.default <V> IOFunction
<V, R> IOFunction.compose
(IOFunction<? super V, ? extends T> before) Returns a composed function that first applies thebefore
function 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 IOFunctionModifier and TypeMethodDescriptiondefault <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 theafter
function to the result.default <V> IOFunction
<V, R> IOFunction.compose
(IOFunction<? super V, ? extends T> before) Returns a composed function that first applies thebefore
function 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 IOFunctionModifier and TypeMethodDescriptionstatic <T,
V> V ThreadUtils.runAsInternal
(T param, IOFunction<? super T, V> code) Runs anIOFunction
with 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 IOFunctionModifier and TypeMethodDescriptionprotected CloseableScpClient
SimpleScpClientImpl.createScpClient
(IOFunction<? super SimpleClient, ? extends ClientSession> sessionProvider) -
Uses of IOFunction in org.apache.sshd.sftp.client.impl
Methods in org.apache.sshd.sftp.client.impl with parameters of type IOFunctionModifier and TypeMethodDescriptionprotected SftpClient
SimpleSftpClientImpl.createSftpClient
(IOFunction<? super SimpleClient, ? extends ClientSession> sessionProvider) static <T> T
SftpPathImpl.withAttributeCache
(Path path, IOFunction<Path, T> operation) Performs the given operation with attribute caching, if the givenPath
can cache attributes, otherwise simply executes the operation.<T> T
SftpPathImpl.withAttributeCache
(IOFunction<Path, T> operation) Performs the given operation with attribute caching.