public static final class AerospikeException.Timeout extends AerospikeException
AerospikeException.AsyncQueueFull, AerospikeException.Connection, AerospikeException.InvalidNamespace, 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(Node node,
int totalTimeout) |
Timeout(Policy policy,
boolean client) |
Timeout(Policy policy,
int iteration) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
getInDoubt, getIteration, getNode, getPolicy, getResultCode, keepConnection, setInDoubt, setIteration, setNode, setPolicy
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 Timeout(Policy policy, int iteration)
public Timeout(Node node, int totalTimeout)
public String getMessage()
getMessage
in class AerospikeException
Copyright © 2012–2020 Aerospike, Inc. All rights reserved.