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 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
Constructors -
Method Summary
Methods inherited from class com.aerospike.client.AerospikeException
getBaseMessage, getInDoubt, getIteration, getMessage, getNode, getPolicy, getResultCode, getSubExceptions, keepConnection, setInDoubt, setInDoubt, setIteration, setNode, setPolicy, setSubExceptions
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. This field is redundant and is only left here for backwards compatibility. -
socketTimeout
public int socketTimeoutSocket idle timeout in milliseconds. This field is redundant and is only left here for backwards compatibility. -
timeout
public int timeoutTotal timeout in milliseconds. This field is redundant and is only left here for backwards compatibility. -
client
public boolean clientIf true, client initiated timeout. If false, server initiated timeout.
-
-
Constructor Details
-
Timeout
-
Timeout
-
Timeout
-
Timeout
-