public enum CuratorEventType extends Enum<CuratorEventType>
| Enum Constant and Description |
|---|
CHILDREN
Corresponds to
CuratorFramework.getChildren() |
CLOSING
Event sent when client is being closed
|
CREATE
Corresponds to
CuratorFramework.create() |
DELETE
Corresponds to
CuratorFramework.delete() |
EXISTS
Corresponds to
CuratorFramework.checkExists() |
GET_ACL
Corresponds to
CuratorFramework.getACL() |
GET_DATA
Corresponds to
CuratorFramework.getData() |
SET_ACL
Corresponds to
CuratorFramework.setACL() |
SET_DATA
Corresponds to
CuratorFramework.setData() |
SYNC
Corresponds to
CuratorFramework.sync(String, Object) |
WATCHED
Corresponds to
Watchable.usingWatcher(Watcher) or Watchable.watched() |
| Modifier and Type | Method and Description |
|---|---|
static CuratorEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CuratorEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CuratorEventType CREATE
CuratorFramework.create()public static final CuratorEventType DELETE
CuratorFramework.delete()public static final CuratorEventType EXISTS
CuratorFramework.checkExists()public static final CuratorEventType GET_DATA
CuratorFramework.getData()public static final CuratorEventType SET_DATA
CuratorFramework.setData()public static final CuratorEventType CHILDREN
CuratorFramework.getChildren()public static final CuratorEventType SYNC
CuratorFramework.sync(String, Object)public static final CuratorEventType GET_ACL
CuratorFramework.getACL()public static final CuratorEventType SET_ACL
CuratorFramework.setACL()public static final CuratorEventType WATCHED
Watchable.usingWatcher(Watcher) or Watchable.watched()public static final CuratorEventType CLOSING
public static CuratorEventType[] values()
for (CuratorEventType c : CuratorEventType.values()) System.out.println(c);
public static CuratorEventType 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–2015 The Apache Software Foundation. All rights reserved.