public interface AsyncCuratorFrameworkDsl extends WatchableAsyncCuratorFramework
Modifier and Type | Method and Description |
---|---|
AsyncWatchBuilder |
addWatch()
Start an add watch builder.
|
AsyncCreateBuilder |
create()
Start a create builder
|
AsyncDeleteBuilder |
delete()
Start a delete builder
|
AsyncGetACLBuilder |
getACL()
Start a get ACL builder
|
AsyncReconfigBuilder |
reconfig()
Start a reconfig builder
|
AsyncRemoveWatchesBuilder |
removeWatches()
Start a remove watches builder
|
AsyncSetACLBuilder |
setACL()
Start a set ACL builder
|
AsyncSetDataBuilder |
setData()
Start a set data builder
|
AsyncSyncBuilder |
sync()
Start a sync builder
|
AsyncMultiTransaction |
transaction()
Start a transaction builder
|
AsyncTransactionOp |
transactionOp()
Allocate an operation that can be used with
transaction() . |
WatchableAsyncCuratorFramework |
watched()
Returns a facade that adds watching to any of the subsequently created builders.
|
checkExists, getChildren, getConfig, getData
WatchableAsyncCuratorFramework watched()
Returns a facade that adds watching to any of the subsequently created builders. i.e. all
operations on the WatchableAsyncCuratorFramework facade will have watchers set. Also,
the AsyncStage
returned from these builders will
have a loaded staged watcher that is accessed from AsyncStage.event()
WatchMode.stateChangeAndSuccess
is used
AsyncCreateBuilder create()
AsyncDeleteBuilder delete()
AsyncSetDataBuilder setData()
AsyncGetACLBuilder getACL()
AsyncSetACLBuilder setACL()
AsyncReconfigBuilder reconfig()
AsyncMultiTransaction transaction()
AsyncTransactionOp transactionOp()
transaction()
.
NOTE: CuratorOp
instances created by this builder are
reusable.AsyncSyncBuilder sync()
AsyncRemoveWatchesBuilder removeWatches()
AsyncWatchBuilder addWatch()
IllegalStateException
for ZooKeeper JAR 3.5 or belowIllegalStateException
- ZooKeeper JAR is 3.5 or belowCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.