public class GSIteratorConfig extends Object
GSIterator
Constructor and Description |
---|
GSIteratorConfig()
Default constructor.
|
GSIteratorConfig(int bufferSize,
IteratorScope iteratorScope)
Constructor for direct initialization of
setBufferSize(int) and setIteratorScope(IteratorScope) . |
Modifier and Type | Method and Description |
---|---|
int |
getBufferSize()
Gets the iterator's buffer size.
|
EventSessionConfig |
getEventSessionConfig()
Gets the iterator's event session configuration.
|
IteratorScope |
getIteratorScope()
Gets the iterator's iteration scope.
|
long |
getLeaseDuration()
Gets the iterator's lease duration.
|
int |
getReadModifiers()
Gets the read modifiers the iterator will use to read entries.
|
GSIteratorConfig |
setBufferSize(int value)
Sets the iterator's buffer size
|
GSIteratorConfig |
setEventSessionConfig(EventSessionConfig value)
Sets the iterator's event session configuration.
|
GSIteratorConfig |
setIteratorScope(IteratorScope value)
Sets the iterator's iteration scope.
|
GSIteratorConfig |
setLeaseDuration(long value)
Sets the iterator's lease duration.
|
GSIteratorConfig |
setReadModifiers(int readModifiers)
Sets the read modifiers the iterator will use to read entries.
|
public GSIteratorConfig()
public GSIteratorConfig(int bufferSize, IteratorScope iteratorScope)
setBufferSize(int)
and setIteratorScope(IteratorScope)
.bufferSize
- iteratorScope
- public int getBufferSize()
public GSIteratorConfig setBufferSize(int value)
value
- Buffer size.public IteratorScope getIteratorScope()
public GSIteratorConfig setIteratorScope(IteratorScope value)
value
- Iteration scope.public long getLeaseDuration()
public GSIteratorConfig setLeaseDuration(long value)
value
- lease duration in milliseconds.public EventSessionConfig getEventSessionConfig()
public GSIteratorConfig setEventSessionConfig(EventSessionConfig value)
value
- Event session configuration.public int getReadModifiers()
public GSIteratorConfig setReadModifiers(int readModifiers)
Copyright © GigaSpaces.