Package com.aerospike.client
Class AerospikeException.Timeout
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aerospike.client.AerospikeException
com.aerospike.client.AerospikeException.Timeout
- All Implemented Interfaces:
Serializable
- Enclosing class:
AerospikeException
Exception thrown when database request expires before completing.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.aerospike.client.AerospikeException
AerospikeException.AsyncQueueFull, AerospikeException.Backoff, AerospikeException.BatchExists, AerospikeException.BatchRecordArray, AerospikeException.BatchRecords, AerospikeException.Connection, AerospikeException.InvalidNamespace, AerospikeException.InvalidNode, AerospikeException.Parse, AerospikeException.QueryTerminated, AerospikeException.ScanTerminated, AerospikeException.Serialize, AerospikeException.Timeout
-
Field Summary
Modifier and TypeFieldDescriptionboolean
If true, client initiated timeout.int
Socket initial connect timeout in milliseconds.int
Socket idle timeout in milliseconds.int
Total timeout in milliseconds. -
Constructor Summary
-
Method Summary
Methods inherited from class com.aerospike.client.AerospikeException
getBaseMessage, getInDoubt, getIteration, getNode, getPolicy, getResultCode, keepConnection, setInDoubt, setInDoubt, setIteration, setNode, setPolicy
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
connectTimeout
public int connectTimeoutSocket initial connect timeout in milliseconds. -
socketTimeout
public int socketTimeoutSocket idle timeout in milliseconds. -
timeout
public int timeoutTotal timeout in milliseconds. -
client
public boolean clientIf true, client initiated timeout. If false, server initiated timeout.
-
-
Constructor Details
-
Timeout
public Timeout(int totalTimeout, boolean inDoubt) -
Timeout
-
Timeout
-
Timeout
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classAerospikeException
-