public class ControllerParams extends Object
The values (with defaults shown in square brackets) are:
MessageFuture
to be satisfied.
This class uses the builder pattern. For example, to create a parameters instance which sets the message future timeout to half a second:
ControllerParams params = new ControllerParams.Builder() .messageFutureTimeout(500).build();
Modifier and Type | Class and Description |
---|---|
static class |
ControllerParams.Builder
Builds instances of ControllerParams.
|
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_MESSAGE_FUTURE_TIMEOUT_MS
The default message future timeout (in ms).
|
Modifier and Type | Method and Description |
---|---|
long |
messageFutureTimeout()
Returns the maximum number of milliseconds to wait for a
MessageFuture to be satisfied. |
String |
toString() |
public static final long DEFAULT_MESSAGE_FUTURE_TIMEOUT_MS
public long messageFutureTimeout()
MessageFuture
to be satisfied.Copyright © 2015. All Rights Reserved.