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 migration state.
|
boolean |
includeBinData
Indicates if bin data is retrieved.
|
int |
maxConcurrentNodes
Maximum number of concurrent requests to server nodes at any point in time.
|
int |
scanPercent
Percent of data to scan.
|
consistencyLevel, linearizeRead, maxRetries, priority, replica, sendKey, sleepBetweenRetries, socketTimeout, timeoutDelay, totalTimeout
Constructor and Description |
---|
ScanPolicy()
Default constructor.
|
ScanPolicy(ScanPolicy other)
Copy scan policy from another scan policy.
|
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 boolean concurrentNodes
public boolean includeBinData
public boolean failOnClusterChange
public ScanPolicy(ScanPolicy other)
public ScanPolicy()
Copyright ? 2012–2018 Aerospike, Inc. All rights reserved.