Package oracle.kv
Class StoreIteratorConfig
- java.lang.Object
 - 
- oracle.kv.StoreIteratorConfig
 
 
- 
public class StoreIteratorConfig extends java.lang.ObjectThe configuration object forKVStore.storeIterator(Direction, int, Key, KeyRange, Depth, Consistency, long, TimeUnit, StoreIteratorConfig). 
- 
- 
Constructor Summary
Constructors Constructor Description StoreIteratorConfig() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetMaxConcurrentRequests()Returns the maximum number of concurrent requests.intgetMaxResultsBatches()Deprecated.since 3.4, no longer supported.StoreIteratorConfigsetMaxConcurrentRequests(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.StoreIteratorConfigsetMaxResultsBatches(int maxResultsBatches)Deprecated.since 3.4, no longer supported.java.lang.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
setMaxConcurrentRequests
public 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. Setting maxConcurrentRequests to 1 causes the store iteration to be performed using only the current thread. Setting it to 0 lets the KV Client determine the number of threads based on topology information (up to a maximum of the number of available processors as returned by java.lang.Runtime.availableProcessors()). Values less than 0 are reserved for some future use and cause an IllegalArgumentException to be thrown.- Parameters:
 maxConcurrentRequests- the maximum number of client-side threads.- Returns:
 - this
 - Throws:
 java.lang.IllegalArgumentException- if a value less than 0 is passed for maxConcurrentRequests.
 
- 
getMaxConcurrentRequests
public int getMaxConcurrentRequests()
Returns the maximum number of concurrent requests.- Returns:
 - the maximum number of concurrent requests
 
 
- 
setMaxResultsBatches
@Deprecated public StoreIteratorConfig setMaxResultsBatches(int maxResultsBatches)
Deprecated.since 3.4, no longer supported.- Parameters:
 maxResultsBatches- the maximum number of results sets that can be held on the client side before Replication Node processing pauses.- Returns:
 - this
 
 
- 
getMaxResultsBatches
@Deprecated public int getMaxResultsBatches()
Deprecated.since 3.4, no longer supported. Returns the value set by setMaxResultsBatches().- Returns:
 - the value set by setMaxResultsBatches()
 
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -