public class GetACLBuilderImpl extends Object implements GetACLBuilder, ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>>
Constructor and Description |
---|
GetACLBuilderImpl(CuratorFrameworkImpl client,
Backgrounding backgrounding,
org.apache.zookeeper.data.Stat responseStat) |
Modifier and Type | Method and Description |
---|---|
List<org.apache.zookeeper.data.ACL> |
forPath(String path)
Commit the currently building operation using the given path
|
ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>> |
inBackground()
Perform the action in the background
|
ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>> |
inBackground(BackgroundCallback callback)
Perform the action in the background
|
ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>> |
inBackground(BackgroundCallback callback,
Executor executor)
Perform the action in the background
|
ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>> |
inBackground(BackgroundCallback callback,
Object context)
Perform the action in the background
|
ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>> |
inBackground(BackgroundCallback callback,
Object context,
Executor executor)
Perform the action in the background
|
ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>> |
inBackground(Object context)
Perform the action in the background
|
void |
performBackgroundOperation(org.apache.curator.framework.imps.OperationAndData<String> operationAndData) |
Pathable<List<org.apache.zookeeper.data.ACL>> |
storingStatIn(org.apache.zookeeper.data.Stat stat)
Have the operation fill the provided stat object
|
Pathable<List<org.apache.zookeeper.data.ACL>> |
withUnhandledErrorListener(UnhandledErrorListener listener)
Set an error listener for this background operation.
|
public GetACLBuilderImpl(CuratorFrameworkImpl client, Backgrounding backgrounding, org.apache.zookeeper.data.Stat responseStat)
public ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>> inBackground(BackgroundCallback callback, Object context)
Backgroundable
inBackground
in interface Backgroundable<ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>>>
callback
- a functor that will get called when the operation has completedcontext
- context object - will be available from the event sent to the listenerpublic ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>> inBackground(BackgroundCallback callback, Object context, Executor executor)
Backgroundable
inBackground
in interface Backgroundable<ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>>>
callback
- a functor that will get called when the operation has completedcontext
- context object - will be available from the event sent to the listenerexecutor
- executor to use for the background callpublic ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>> inBackground()
Backgroundable
inBackground
in interface Backgroundable<ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>>>
public ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>> inBackground(Object context)
Backgroundable
inBackground
in interface Backgroundable<ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>>>
context
- context object - will be available from the event sent to the listenerpublic ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>> inBackground(BackgroundCallback callback)
Backgroundable
inBackground
in interface Backgroundable<ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>>>
callback
- a functor that will get called when the operation has completedpublic ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>> inBackground(BackgroundCallback callback, Executor executor)
Backgroundable
inBackground
in interface Backgroundable<ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>>>
callback
- a functor that will get called when the operation has completedexecutor
- executor to use for the background callpublic Pathable<List<org.apache.zookeeper.data.ACL>> withUnhandledErrorListener(UnhandledErrorListener listener)
ErrorListenerPathable
withUnhandledErrorListener
in interface ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>>
listener
- the listenerpublic Pathable<List<org.apache.zookeeper.data.ACL>> storingStatIn(org.apache.zookeeper.data.Stat stat)
Statable
storingStatIn
in interface Statable<Pathable<List<org.apache.zookeeper.data.ACL>>>
stat
- the stat to have filled inpublic void performBackgroundOperation(org.apache.curator.framework.imps.OperationAndData<String> operationAndData) throws Exception
Exception
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.