public static enum CuratorCacheListener.Type extends Enum<CuratorCacheListener.Type>
Enum Constant and Description |
---|
NODE_CHANGED
A node already in the cache has changed
|
NODE_CREATED
A new node was added to the cache
|
NODE_DELETED
A node already in the cache was deleted
|
Modifier and Type | Method and Description |
---|---|
static CuratorCacheListener.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CuratorCacheListener.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CuratorCacheListener.Type NODE_CREATED
public static final CuratorCacheListener.Type NODE_CHANGED
public static final CuratorCacheListener.Type NODE_DELETED
public static CuratorCacheListener.Type[] values()
for (CuratorCacheListener.Type c : CuratorCacheListener.Type.values()) System.out.println(c);
public static CuratorCacheListener.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.