| Package | Description |
|---|---|
| org.apache.sshd.common.future | |
| org.apache.sshd.common.io |
| Modifier and Type | Method and Description |
|---|---|
static CancelOption |
CancelOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CancelOption[] |
CancelOption.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
default boolean |
WaitableFuture.await(CancelOption... options)
Wait
Long.MAX_VALUE msec. |
default boolean |
WaitableFuture.await(Duration timeout,
CancelOption... options)
Wait for the asynchronous operation to complete with the specified timeout.
|
boolean |
WaitableFuture.await(long timeoutMillis,
CancelOption... options)
Wait for the asynchronous operation to complete with the specified timeout.
|
boolean |
AbstractSshFuture.await(long timeoutMillis,
CancelOption... options) |
default boolean |
WaitableFuture.await(long timeout,
TimeUnit unit,
CancelOption... options)
Wait for the asynchronous operation to complete with the specified timeout.
|
protected Object |
DefaultSshFuture.await0(long timeoutMillis,
boolean interruptable,
CancelOption... options) |
protected abstract Object |
AbstractSshFuture.await0(long timeoutMillis,
boolean interruptable,
CancelOption... options)
Wait for the Future to be ready.
|
default boolean |
WaitableFuture.awaitUninterruptibly(CancelOption... options)
Wait
Long.MAX_VALUE msec. |
default boolean |
WaitableFuture.awaitUninterruptibly(Duration timeoutMillis,
CancelOption... options)
Wait for the asynchronous operation to complete with the specified timeout uninterruptibly.
|
boolean |
WaitableFuture.awaitUninterruptibly(long timeoutMillis,
CancelOption... options)
Wait for the asynchronous operation to complete with the specified timeout uninterruptibly.
|
boolean |
AbstractSshFuture.awaitUninterruptibly(long timeoutMillis,
CancelOption... options) |
default boolean |
WaitableFuture.awaitUninterruptibly(long timeout,
TimeUnit unit,
CancelOption... options)
Wait for the asynchronous operation to complete with the specified timeout uninterruptibly.
|
default T |
VerifiableFuture.verify(CancelOption... options)
Wait
Long.MAX_VALUE msec. |
default T |
VerifiableFuture.verify(Duration timeout,
CancelOption... options)
Wait and verify that the operation was successful
|
T |
VerifiableFuture.verify(long timeoutMillis,
CancelOption... options)
Wait and verify that the operation was successful
|
Boolean |
DefaultCancelFuture.verify(long timeoutMillis,
CancelOption... options)
Wait and verify that the operation was successful
|
default T |
VerifiableFuture.verify(long timeout,
TimeUnit unit,
CancelOption... options)
Wait and verify that the operation was successful
|
protected <R> R |
AbstractSshFuture.verifyResult(Class<? extends R> expectedType,
long timeout,
CancelOption... options)
Waits (interruptible) for the specified timeout (msec.) and then checks the result:
|
| Modifier and Type | Method and Description |
|---|---|
IoConnectFuture |
DefaultIoConnectFuture.verify(long timeoutMillis,
CancelOption... options) |
IoWriteFuture |
AbstractIoWriteFuture.verify(long timeout,
CancelOption... options) |
Copyright © 2018–2024 The Apache Software Foundation. All rights reserved.