public class StoreIteratorConfig extends Object
KVStore.storeIterator(Direction, int,
Key, KeyRange, Depth, Consistency, long, TimeUnit, StoreIteratorConfig).| Constructor and Description |
|---|
StoreIteratorConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxConcurrentRequests()
Returns the maximum number of concurrent requests.
|
int |
getMaxResultsBatches()
Returns the maximum number of results batches that can be held in the
NoSQL Database client process.
|
StoreIteratorConfig |
setMaxConcurrentRequests(int maxConcurrentRequests)
Sets the maximum degree of parallelism (in effect the maximum number of
client-side threads) to be used when running a parallel store iteration.
|
StoreIteratorConfig |
setMaxResultsBatches(int maxResultsBatches)
Specifies the maximum number of results batches that can be held in the
NoSQL Database client process before processing on the Replication Node
pauses.
|
String |
toString() |
public StoreIteratorConfig setMaxConcurrentRequests(int maxConcurrentRequests)
maxConcurrentRequests - the maximum number of client-side threads.IllegalArgumentException - if a value less than 0 is passed for
maxConcurrentRequests.StoreIteratorMetricspublic int getMaxConcurrentRequests()
StoreIteratorMetricspublic StoreIteratorConfig setMaxResultsBatches(int maxResultsBatches)
maxResultsBatches - the maximum number of results sets that can be
held on the client side before Replication Node processing pauses.StoreIteratorMetricspublic int getMaxResultsBatches()
StoreIteratorMetricsCopyright (c) 2011, 2015 Oracle and/or its affiliates. All rights reserved.