public class AsyncOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static AsyncOptions |
DEFAULT
Shared instance that represents the "default" set of options.
|
long |
timeout
Number of time units before which a given async call should complete.
|
static long |
TIMEOUT_INFINITE
Sentinel that represents an infinite number of time units.
|
java.util.concurrent.TimeUnit |
timeUnit
Unit type of the timeout.
|
Constructor and Description |
---|
AsyncOptions() |
public static final AsyncOptions DEFAULT
public static final long TIMEOUT_INFINITE
public long timeout
TIMEOUT_INFINITE
.public java.util.concurrent.TimeUnit timeUnit