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 |
socketTimeout
Socket idle timeout in milliseconds.
|
int |
timeout
Total timeout in milliseconds.
|
| Constructor and Description |
|---|
Timeout(int totalTimeout,
boolean inDoubt) |
Timeout(Policy policy,
boolean client) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
getInDoubt, getIteration, getNode, getResultCode, keepConnection, setInDoubt, setIteration, setNodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic int socketTimeout
public int timeout
public boolean client
public Timeout(int totalTimeout,
boolean inDoubt)
public Timeout(Policy policy, boolean client)
public String getMessage()
getMessage in class AerospikeExceptionCopyright ? 2012–2018 Aerospike, Inc. All rights reserved.