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, setNode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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 AerospikeException
Copyright ? 2012–2018 Aerospike, Inc. All rights reserved.