|
GemFire 6.5.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gemstone.gemfire.cache.InterestResultPolicy
public class InterestResultPolicy
Class InterestResultPolicy is an enumerated type for a
register interest result. The result of a call to Region.registerInterest
can be the keys and current values, just the keys or nothing.
Region.registerInterest(Object),
Region.registerInterestRegex(String),
Serialized Form| Field Summary | |
|---|---|
static InterestResultPolicy |
DEFAULT
The InterestResultPolicy used by default; it is KEYS_VALUES. |
static InterestResultPolicy |
KEYS
|
static InterestResultPolicy |
KEYS_VALUES
|
static InterestResultPolicy |
NONE
|
byte |
ordinal
The ordinal representing this InterestResultPolicy. |
| Method Summary | |
|---|---|
static InterestResultPolicy |
fromOrdinal(byte ordinal)
Returns the InterestResultPolicy represented by specified ordinal |
byte |
getOrdinal()
Returns the ordinal value. |
boolean |
isDefault()
Returns true if this InterestResultPolicy is the default. |
boolean |
isKeys()
Returns true if this InterestResultPolicy is KEYS. |
boolean |
isKeysValues()
Returns true if this InterestResultPolicy is KEYS_VALUES. |
boolean |
isNone()
Returns true if this InterestResultPolicy is NONE. |
String |
toString()
Returns a string representation for this InterestResultPolicy. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final InterestResultPolicy NONE
public static final InterestResultPolicy KEYS
public static final InterestResultPolicy KEYS_VALUES
public static final InterestResultPolicy DEFAULT
InterestResultPolicy used by default; it is KEYS_VALUES.
public final byte ordinal
InterestResultPolicy.
| Method Detail |
|---|
public static InterestResultPolicy fromOrdinal(byte ordinal)
InterestResultPolicy represented by specified ordinal
public byte getOrdinal()
public boolean isNone()
InterestResultPolicy is NONE.
InterestResultPolicy is NONE.public boolean isKeys()
InterestResultPolicy is KEYS.
InterestResultPolicy is KEYS.public boolean isKeysValues()
InterestResultPolicy is KEYS_VALUES.
InterestResultPolicy is KEYS_VALUES.public boolean isDefault()
InterestResultPolicy is the default.
InterestResultPolicy is the default.public String toString()
InterestResultPolicy.
toString in class Object
|
GemFire 6.5.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||