|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.aerospike.client.policy.Policy
public class Policy
Container object for transaction policy attributes used in all database operation calls.
Field Summary | |
---|---|
int |
maxRetries
Maximum number of retries before aborting the current transaction. |
Priority |
priority
Priority of request relative to other transactions. |
int |
sleepBetweenRetries
Milliseconds to sleep between retries if a transaction fails and the timeout was not exceeded. |
int |
timeout
Transaction timeout in milliseconds. |
Constructor Summary | |
---|---|
Policy()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Priority priority
public int timeout
public int maxRetries
public int sleepBetweenRetries
Constructor Detail |
---|
public Policy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |