The ScanPolicy type exposes the following members.
Back to Top
Fields
Name | Description | |
---|---|---|
![]() | concurrentNodes |
Issue scan requests in parallel or serially.
|
![]() | failOnClusterChange |
Terminate scan if cluster in fluctuating state.
|
![]() | includeBinData |
Indicates if bin data is retrieved. If false, only record digests are retrieved.
|
![]() | maxRetries |
Maximum number of retries before aborting the current transaction.
A retry is attempted when there is a network error other than timeout.
If maxRetries is exceeded, the abort will occur even if the timeout
has not yet been exceeded.
(Inherited from Policy.) |
![]() | priority |
Priority of request relative to other transactions.
Currently, only used for scans.
(Inherited from Policy.) |
![]() | scanPercent |
Fraction of data to scan - not yet supported.
|
![]() | sleepBetweenRetries |
Milliseconds to sleep between retries if a transaction fails and the
timeout was not exceeded.
(Inherited from Policy.) |
![]() | timeout |
Transaction timeout in milliseconds.
This timeout is used to set the socket timeout and is also sent to the
server along with the transaction in the wire protocol.
Default to no timeout (0).
(Inherited from Policy.) |
See Also