public enum DeleteOption extends Enum<DeleteOption>
Enum Constant and Description |
---|
deletingChildrenIfNeeded
Will also delete children if they exist
|
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.
|
quietly
Prevents the reporting of
KeeperException.NoNodeException s. |
Modifier and Type | Method and Description |
---|---|
static DeleteOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeleteOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeleteOption quietly
KeeperException.NoNodeException
s.
If the ZNode doesn't exist the delete method will appear to succeed.public static final DeleteOption deletingChildrenIfNeeded
public static final DeleteOption guaranteed
GuaranteeableDeletable
public static DeleteOption[] values()
for (DeleteOption c : DeleteOption.values()) System.out.println(c);
public static DeleteOption 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.