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()
SpaceIteratorType
public SpaceIteratorConfiguration setIteratorType(SpaceIteratorType iteratorType)
SpaceIteratorType
iteratorType
- public int getBatchSize()
public SpaceIteratorConfiguration setBatchSize(int batchSize)
batchSize
- public java.time.Duration getMaxInactiveDuration()
SpaceIteratorType.CURSOR
public SpaceIteratorConfiguration setMaxInactiveDuration(java.time.Duration maxInactiveDuration)
SpaceIteratorType.CURSOR
maxInactiveDuration
- 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.