Package org.apache.curator.x.async.api
Interface AsyncDeleteBuilder
-
- All Superinterfaces:
AsyncPathable<AsyncStage<java.lang.Void>>
public interface AsyncDeleteBuilder extends AsyncPathable<AsyncStage<java.lang.Void>>
Builder for ZNode deletions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AsyncPathable<AsyncStage<java.lang.Void>>withOptions(java.util.Set<DeleteOption> options)Changes the deletion options.AsyncPathable<AsyncStage<java.lang.Void>>withOptionsAndVersion(java.util.Set<DeleteOption> options, int version)Set options and version.AsyncPathable<AsyncStage<java.lang.Void>>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 Detail
-
withOptions
AsyncPathable<AsyncStage<java.lang.Void>> withOptions(java.util.Set<DeleteOption> options)
Changes the deletion options. By default, no options are used- Parameters:
options- set of deletion options- Returns:
- this
-
withOptionsAndVersion
AsyncPathable<AsyncStage<java.lang.Void>> withOptionsAndVersion(java.util.Set<DeleteOption> options, int version)
Set options and version.- Parameters:
options- set of deletion optionsversion- version to use- Returns:
- this
- See Also:
withOptions(java.util.Set),withVersion(int)
-
withVersion
AsyncPathable<AsyncStage<java.lang.Void>> withVersion(int version)
Changes the version number passed to the delete() method. By default, -1 is used- Parameters:
version- version to use- Returns:
- this
-
-