public enum RemoveWatcherOption extends Enum<RemoveWatcherOption>
Enum Constant and Description |
---|
guaranteed
Solves edge cases where an operation may succeed on the server but connection failure occurs before a
response can be successfully returned to the client.
|
local
Specify if the client should just remove client side watches if a connection to ZK
is not available.
|
quietly
Prevents the reporting of
KeeperException.NoNodeException s. |
Modifier and Type | Method and Description |
---|---|
static RemoveWatcherOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RemoveWatcherOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RemoveWatcherOption guaranteed
GuaranteeableDeletable
public static final RemoveWatcherOption local
public static final RemoveWatcherOption quietly
KeeperException.NoNodeException
s.
If the watcher doesn't exist the remove method will appear to succeed.public static RemoveWatcherOption[] values()
for (RemoveWatcherOption c : RemoveWatcherOption.values()) System.out.println(c);
public static RemoveWatcherOption 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.