Package org.apache.curator.x.async.api
Interface AsyncSetACLBuilder
public interface AsyncSetACLBuilder
Builder for setting ACLs
-
Method Summary
Modifier and TypeMethodDescriptionAsyncPathable
<AsyncStage<org.apache.zookeeper.data.Stat>> Set the given ACLsAsyncPathable
<AsyncStage<org.apache.zookeeper.data.Stat>> Set the given ACLs only if the "a" version matches.
-
Method Details
-
withACL
AsyncPathable<AsyncStage<org.apache.zookeeper.data.Stat>> withACL(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(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:
-