public interface AsyncSetACLBuilder
Modifier and Type | Method and Description |
---|---|
AsyncPathable<AsyncStage<org.apache.zookeeper.data.Stat>> |
withACL(List<org.apache.zookeeper.data.ACL> aclList)
Set the given ACLs
|
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.
|
AsyncPathable<AsyncStage<org.apache.zookeeper.data.Stat>> withACL(List<org.apache.zookeeper.data.ACL> aclList)
aclList
- ACLs to setAsyncPathable<AsyncStage<org.apache.zookeeper.data.Stat>> withACL(List<org.apache.zookeeper.data.ACL> aclList, int version)
aclList
- ACLs to setversion
- "a" versionStat.getAversion()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.