Class AerospikeProperties.PolicyDefault
java.lang.Object
org.springframework.boot.autoconfigure.aerospike.AerospikeProperties.PolicyDefault
- Direct Known Subclasses:
AerospikeProperties.BatchPolicyDefault,AerospikeProperties.QueryPolicyDefault,AerospikeProperties.ReadPolicyDefault,AerospikeProperties.WritePolicyDefault
- Enclosing class:
- AerospikeProperties
For more details on each option see corresponding field documentation in
Policy.-
Field Summary
FieldsModifier and TypeFieldDescriptionMaximum number of retries before aborting the current transaction.Time to sleep between retries.Socket idle timeout when processing a database command.Delay after socket read timeout in an attempt to recover the socket in the background.Total transaction timeout. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
socketTimeout
Socket idle timeout when processing a database command. -
totalTimeout
Total transaction timeout. -
timeoutDelay
Delay after socket read timeout in an attempt to recover the socket in the background. -
maxRetries
Maximum number of retries before aborting the current transaction. NOTE: The initial attempt is not counted as a retry. -
sleepBetweenRetries
Time to sleep between retries.
-
-
Constructor Details
-
PolicyDefault
public PolicyDefault()
-