public static final class AerospikeException.Timeout extends AerospikeException
AerospikeException.CommandRejected, AerospikeException.Connection, 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 |
iterations
Number of attempts before failing.
|
Node |
node
Last node used before timeout.
|
int |
socketTimeout
Socket idle timeout in milliseconds.
|
int |
timeout
Total timeout in milliseconds.
|
Constructor and Description |
---|
AerospikeException.Timeout(int totalTimeout) |
AerospikeException.Timeout(Node node,
Policy policy,
int iterations,
boolean client) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
getResultCode, keepConnection
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public Node node
public int socketTimeout
public int timeout
public int iterations
public boolean client
public String getMessage()
getMessage
in class AerospikeException
Copyright © 2012–2017 Aerospike, Inc. All rights reserved.