|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gigaspaces.client.iterator.GSIteratorConfig
public class GSIteratorConfig
Configuration class for GSIterator.
GSIterator
Constructor Summary | |
---|---|
GSIteratorConfig()
Default constructor. |
|
GSIteratorConfig(int bufferSize,
IteratorScope iteratorScope)
Constructor for direct initialization of setBufferSize(int) and setIteratorScope(IteratorScope) . |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GSIteratorConfig()
public GSIteratorConfig(int bufferSize, IteratorScope iteratorScope)
setBufferSize(int)
and setIteratorScope(IteratorScope)
.
bufferSize
- iteratorScope
- Method Detail |
---|
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)
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |