Package org.apache.curator.x.async.api
Enum RemoveWatcherOption
- All Implemented Interfaces:
Serializable
,Comparable<RemoveWatcherOption>
,java.lang.constant.Constable
Options to use when removing watchers
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSolves edge cases where an operation may succeed on the server but connection failure occurs before a response can be successfully returned to the client.Specify if the client should just remove client side watches if a connection to ZK is not available.Prevents the reporting ofKeeperException.NoNodeException
s. -
Method Summary
Modifier and TypeMethodDescriptionstatic RemoveWatcherOption
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.
-
Enum Constant Details
-
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.- See Also:
-
local
Specify if the client should just remove client side watches if a connection to ZK is not available. Note that the standard Curator retry loop will not be used in t -
quietly
Prevents the reporting ofKeeperException.NoNodeException
s. If the watcher doesn't exist the remove method will appear to succeed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-