Package org.apache.curator.x.async.api
Interface AsyncSetACLBuilder
-
public interface AsyncSetACLBuilderBuilder for setting ACLs
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AsyncPathable<AsyncStage<org.apache.zookeeper.data.Stat>>withACL(java.util.List<org.apache.zookeeper.data.ACL> aclList)Set the given ACLsAsyncPathable<AsyncStage<org.apache.zookeeper.data.Stat>>withACL(java.util.List<org.apache.zookeeper.data.ACL> aclList, int version)Set the given ACLs only if the "a" version matches.
-
-
-
Method Detail
-
withACL
AsyncPathable<AsyncStage<org.apache.zookeeper.data.Stat>> withACL(java.util.List<org.apache.zookeeper.data.ACL> aclList)
Set the given ACLs- Parameters:
aclList- ACLs to set- Returns:
- this
-
withACL
AsyncPathable<AsyncStage<org.apache.zookeeper.data.Stat>> withACL(java.util.List<org.apache.zookeeper.data.ACL> aclList, int version)
Set the given ACLs only if the "a" version matches. By default -1 is used which matches all versions.- Parameters:
aclList- ACLs to setversion- "a" version- Returns:
- this
- See Also:
Stat.getAversion()
-
-