public static final class AerospikeException.Timeout extends AerospikeException
AerospikeException.AsyncQueueFull, AerospikeException.Connection, AerospikeException.InvalidNode, AerospikeException.Parse, AerospikeException.QueryTerminated, AerospikeException.ScanTerminated, AerospikeException.Serialize, AerospikeException.Timeout| Modifier and Type | Field and Description |
|---|---|
boolean |
client
If true, client initiated timeout.
|
int |
iterations
Number of attempts before failing.
|
Node |
node
Last node used before timeout.
|
int |
socketTimeout
Socket idle timeout in milliseconds.
|
int |
timeout
Total timeout in milliseconds.
|
| Constructor and Description |
|---|
AerospikeException.Timeout(int totalTimeout,
boolean inDoubt) |
AerospikeException.Timeout(Node node,
Policy policy,
int iterations,
boolean client) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
getInDoubt, getResultCode, keepConnection, setInDoubtaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic Node node
public int socketTimeout
public int timeout
public int iterations
public boolean client
public AerospikeException.Timeout(int totalTimeout,
boolean inDoubt)
public String getMessage()
getMessage in class AerospikeExceptionCopyright © 2012–2018 Aerospike, Inc. All rights reserved.