Package org.apache.curator.x.async.api
Interface AsyncDeleteBuilder
- All Superinterfaces:
AsyncPathable<AsyncStage<Void>>
Builder for ZNode deletions
-
Method Summary
Modifier and TypeMethodDescriptionwithOptions
(Set<DeleteOption> options) Changes the deletion options.withOptionsAndVersion
(Set<DeleteOption> options, int version) Set options and version.withVersion
(int version) Changes the version number passed to the delete() method.Methods inherited from interface org.apache.curator.x.async.api.AsyncPathable
forPath
-
Method Details
-
withOptions
Changes the deletion options. By default, no options are used- Parameters:
options
- set of deletion options- Returns:
- this
-
withOptionsAndVersion
Set options and version.- Parameters:
options
- set of deletion optionsversion
- version to use- Returns:
- this
- See Also:
-
withVersion
Changes the version number passed to the delete() method. By default, -1 is used- Parameters:
version
- version to use- Returns:
- this
-