public final class ScanPolicy extends Policy
Modifier and Type | Field and Description |
---|---|
boolean |
concurrentNodes
Issue scan requests in parallel or serially.
|
boolean |
failOnClusterChange
Terminate scan if cluster in fluctuating state.
|
boolean |
includeBinData
Indicates if bin data is retrieved.
|
boolean |
includeLDT
Include large data type bin values in addition to large data type bin names.
|
int |
maxConcurrentNodes
Maximum number of concurrent requests to server nodes at any point in time.
|
int |
scanPercent
Percent of data to scan.
|
int |
socketTimeout
Maximum time in milliseconds to wait when polling socket for availability prior to
performing an operation on the socket on the server side.
|
consistencyLevel, maxRetries, priority, replica, sendKey, sleepBetweenRetries, timeoutDelay, totalTimeout
Constructor and Description |
---|
ScanPolicy()
Default constructor.
|
public int scanPercent
public int maxConcurrentNodes
This field is only relevant when concurrentNodes is true. Default (0) is to issue requests to all server nodes in parallel.
public int socketTimeout
Default: 10000 ms
public boolean concurrentNodes
public boolean includeBinData
public boolean includeLDT
public boolean failOnClusterChange
Copyright © 2012–2017 Aerospike, Inc. All rights reserved.