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
|
CuratorEventType |
getBackgroundEventType()
Most events are delivered by operations themselves, so they know their event types.
|
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)
BackgroundableinBackground 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)
BackgroundableinBackground 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()
BackgroundableinBackground in interface Backgroundable<ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>>>public ErrorListenerPathable<List<org.apache.zookeeper.data.ACL>> inBackground(Object context)
BackgroundableinBackground 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)
BackgroundableinBackground 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)
BackgroundableinBackground 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)
ErrorListenerPathablewithUnhandledErrorListener 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)
StatablestoringStatIn in interface Statable<Pathable<List<org.apache.zookeeper.data.ACL>>>stat - the stat to have filled inpublic CuratorEventType getBackgroundEventType()
public void performBackgroundOperation(org.apache.curator.framework.imps.OperationAndData<String> operationAndData) throws Exception
ExceptionCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.