public static enum PathChildrenCacheEvent.Type extends java.lang.Enum<PathChildrenCacheEvent.Type>
Enum Constant and Description |
---|
CHILD_ADDED
A child was added to the path
|
CHILD_REMOVED
A child was removed from the path
|
CHILD_UPDATED
A child's data was changed
|
CONNECTION_LOST
Called when the connection has changed to
ConnectionState.LOST |
CONNECTION_RECONNECTED
Called when the connection has changed to
ConnectionState.RECONNECTED |
CONNECTION_SUSPENDED
Called when the connection has changed to
ConnectionState.SUSPENDED |
Modifier and Type | Method and Description |
---|---|
static PathChildrenCacheEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PathChildrenCacheEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathChildrenCacheEvent.Type CHILD_ADDED
public static final PathChildrenCacheEvent.Type CHILD_UPDATED
public static final PathChildrenCacheEvent.Type CHILD_REMOVED
public static final PathChildrenCacheEvent.Type CONNECTION_SUSPENDED
ConnectionState.SUSPENDED
public static final PathChildrenCacheEvent.Type CONNECTION_RECONNECTED
ConnectionState.RECONNECTED
public static final PathChildrenCacheEvent.Type CONNECTION_LOST
ConnectionState.LOST
public static PathChildrenCacheEvent.Type[] values()
for (PathChildrenCacheEvent.Type c : PathChildrenCacheEvent.Type.values()) System.out.println(c);
public static PathChildrenCacheEvent.Type 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 null