public class SpaceIteratorConfiguration extends Object
SpaceIterator| Constructor and Description |
|---|
SpaceIteratorConfiguration()
Constructs a new configuration with default values
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBatchSize() |
static int |
getDefaultBatchSize() |
static java.time.Duration |
getDefaultMaxInactiveDuration() |
SpaceIteratorType |
getIteratorType() |
java.time.Duration |
getMaxInactiveDuration() |
ReadModifiers |
getReadModifiers() |
SpaceIteratorConfiguration |
setBatchSize(int batchSize)
Sets the iterator batch size retrieved from the space
|
SpaceIteratorConfiguration |
setIteratorType(SpaceIteratorType iteratorType)
Sets the space iterator type being used.
|
SpaceIteratorConfiguration |
setMaxInactiveDuration(java.time.Duration maxInactiveDuration)
Sets the max duration of an inactive iterator.
|
SpaceIteratorConfiguration |
setReadModifiers(ReadModifiers readModifiers)
Sets the
ReadModifiers which allows to programmatically control the isolation level this iteration
* operation will be performed under. |
public SpaceIteratorConfiguration()
public static int getDefaultBatchSize()
public static java.time.Duration getDefaultMaxInactiveDuration()
public SpaceIteratorType getIteratorType()
SpaceIteratorTypepublic SpaceIteratorConfiguration setIteratorType(SpaceIteratorType iteratorType)
SpaceIteratorTypeiteratorType - public int getBatchSize()
public SpaceIteratorConfiguration setBatchSize(int batchSize)
batchSize - public java.time.Duration getMaxInactiveDuration()
SpaceIteratorType.CURSORpublic SpaceIteratorConfiguration setMaxInactiveDuration(java.time.Duration maxInactiveDuration)
SpaceIteratorType.CURSORmaxInactiveDuration - public ReadModifiers getReadModifiers()
ReadModifiers which allows to programmatically control the isolation level this iterationpublic SpaceIteratorConfiguration setReadModifiers(ReadModifiers readModifiers)
ReadModifiers which allows to programmatically control the isolation level this iteration
* operation will be performed under.readModifiers - Copyright © GigaSpaces.