|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<IteratorScope> com.gigaspaces.client.iterator.IteratorScope
public enum IteratorScope
Determines the scope of a GSIterator.
Enum Constant Summary | |
---|---|
CURRENT
Indicates that the iterator will process entries currently in the space, and ignores future changes. |
|
CURRENT_AND_FUTURE
Indicates that the iterator will process both entries currently in the space and future changes. |
|
FUTURE
Indicates that the iterator will ignore entries currently in the space, and process future changes. |
Method Summary | |
---|---|
boolean |
hasCurrent()
|
boolean |
hasFuture()
|
static IteratorScope |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IteratorScope[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IteratorScope CURRENT
public static final IteratorScope FUTURE
public static final IteratorScope CURRENT_AND_FUTURE
Method Detail |
---|
public static final IteratorScope[] values()
for(IteratorScope c : IteratorScope.values()) System.out.println(c);
public static IteratorScope valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic boolean hasCurrent()
true if the value is CURRENT
or CURRENT_AND_FUTURE
,
false
otherwise.
public boolean hasFuture()
FUTURE
or CURRENT_AND_FUTURE
,
false otherwise.
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |