public enum CacheStatusNotificationType extends java.lang.Enum<CacheStatusNotificationType>
Enum Constant | Description |
---|---|
ALL |
User receives a notification whenever a node joins/leaves the cache and when the cache is stopped.
|
CacheStopped |
User receives a notification whenever the cache is stopped.
|
MemberJoined |
User receives a notification whenever a node joins the cache.
|
MemberLeft |
User receives a notification whenever a node leaves the cache.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getValue() |
Order is important in enums.
|
static CacheStatusNotificationType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CacheStatusNotificationType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheStatusNotificationType MemberJoined
public static final CacheStatusNotificationType MemberLeft
public static final CacheStatusNotificationType CacheStopped
public static final CacheStatusNotificationType ALL
public static CacheStatusNotificationType[] values()
for (CacheStatusNotificationType c : CacheStatusNotificationType.values()) System.out.println(c);
public static CacheStatusNotificationType 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()