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
public static final class AerospikeException.Timeout extends AerospikeException
Exception thrown when database request expires before completing.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class com.aerospike.client.AerospikeException
AerospikeException.AsyncQueueFull, AerospikeException.Connection, AerospikeException.InvalidNamespace, AerospikeException.InvalidNode, AerospikeException.Parse, AerospikeException.QueryTerminated, AerospikeException.ScanTerminated, AerospikeException.Serialize, AerospikeException.Timeout
-
Field Summary
Fields Modifier and Type Field Description boolean
client
If true, client initiated timeout.int
socketTimeout
Socket idle timeout in milliseconds.int
timeout
Total timeout in milliseconds. -
Constructor Summary
-
Method Summary
Modifier and Type Method Description String
getMessage()
Methods inherited from class com.aerospike.client.AerospikeException
getInDoubt, getIteration, getNode, getPolicy, getResultCode, keepConnection, 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
-
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
-
Method Details
-
getMessage
- Overrides:
getMessage
in classAerospikeException
-