public static enum ListenerDef.TimeScope extends java.lang.Enum<ListenerDef.TimeScope>
Enum Constant and Description |
---|
ALL
The listener starts with all the entries currently in the Space at creation time
(which will be presented as an initial set of PUT events) and then is continuously updated according to changes in the Space.
|
NEW
The listener starts empty and is updated only with events related to new or updated entries in the Space.
|
NEW_EVENTS
The listener starts empty and is updated with all events that occur in the Space after creation time.
|
SNAPSHOT
The listener contains only PUT corresponding to the entries stored in the Space at creation time.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static ListenerDef.TimeScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ListenerDef.TimeScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListenerDef.TimeScope ALL
public static final ListenerDef.TimeScope SNAPSHOT
public static final ListenerDef.TimeScope NEW
public static final ListenerDef.TimeScope NEW_EVENTS
public static ListenerDef.TimeScope[] values()
for (ListenerDef.TimeScope c : ListenerDef.TimeScope.values()) System.out.println(c);
public static ListenerDef.TimeScope valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
Copyright (c) 2013 TIBCO Software Inc. All rights reserved.