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
FieldsModifier and TypeFieldDescriptionbooleanIf true, client initiated timeout.intSocket initial connect timeout in milliseconds.intSocket idle timeout in milliseconds.intTotal timeout in milliseconds. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.aerospike.client.AerospikeException
getBaseMessage, getInDoubt, getIteration, getNode, getPolicy, getResultCode, keepConnection, setInDoubt, setInDoubt, setIteration, setNode, setPolicyMethods 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:
getMessagein classAerospikeException
-