| 
GigaSpaces XAP 9.7.2 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.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 are declared.  | 
| Methods inherited from class java.lang.Enum | 
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
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 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 name
NullPointerException - if the argument is nullpublic 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 9.7.2 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||