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.impl |
Modifier and Type | Method and 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 the
after
function to the result. |
default <V> IOFunction<V,R> |
IOFunction.compose(IOFunction<? super V,? extends T> before)
Returns a composed function that first applies the
before 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.
|
Modifier and Type | Method and 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 the
after
function to the result. |
default <V> IOFunction<V,R> |
IOFunction.compose(IOFunction<? super V,? extends T> before)
Returns a composed function that first applies the
before function to its input, and then applies this
function to the result. |
Modifier and Type | Method and Description |
---|---|
static <T,V> V |
ThreadUtils.runAsInternal(T param,
IOFunction<? super T,V> code)
Runs an
IOFunction with a flag set indicating that the executing thread is an Apache MINA sshd
framework-internal thread. |
Modifier and Type | Method and Description |
---|---|
protected CloseableScpClient |
SimpleScpClientImpl.createScpClient(IOFunction<? super SimpleClient,? extends ClientSession> sessionProvider) |
Modifier and Type | Method and Description |
---|---|
protected SftpClient |
SimpleSftpClientImpl.createSftpClient(IOFunction<? super SimpleClient,? extends ClientSession> sessionProvider) |
<T> T |
SftpPathImpl.withAttributeCache(IOFunction<Path,T> operation)
Performs the given operation with attribute caching.
|
static <T> T |
SftpPathImpl.withAttributeCache(Path path,
IOFunction<Path,T> operation)
Performs the given operation with attribute caching, if the given
Path can cache attributes, otherwise
simply executes the operation. |
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.