Backgroundable<BackgroundPathable<java.util.List<java.lang.String>>>, BackgroundPathable<BackgroundPathable<java.util.List<java.lang.String>>>, ErrorListenerPathable<java.util.List<java.lang.String>>, GetChildrenBuilder, Pathable<BackgroundPathable<java.util.List<java.lang.String>>>, Statable<BackgroundPathable<java.util.List<java.lang.String>>>, Watchable<BackgroundPathable<java.util.List<java.lang.String>>>public class GetChildrenBuilderImpl extends java.lang.Object implements GetChildrenBuilder, ErrorListenerPathable<java.util.List<java.lang.String>>
| Constructor | Description |
|---|---|
GetChildrenBuilderImpl(CuratorFrameworkImpl client,
org.apache.zookeeper.Watcher watcher,
Backgrounding backgrounding,
org.apache.zookeeper.data.Stat responseStat) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<java.lang.String> |
forPath(java.lang.String path) |
Commit the currently building operation using the given path
|
ErrorListenerPathable<java.util.List<java.lang.String>> |
inBackground() |
Perform the action in the background
|
ErrorListenerPathable<java.util.List<java.lang.String>> |
inBackground(java.lang.Object context) |
Perform the action in the background
|
ErrorListenerPathable<java.util.List<java.lang.String>> |
inBackground(BackgroundCallback callback) |
Perform the action in the background
|
ErrorListenerPathable<java.util.List<java.lang.String>> |
inBackground(BackgroundCallback callback,
java.lang.Object context) |
Perform the action in the background
|
ErrorListenerPathable<java.util.List<java.lang.String>> |
inBackground(BackgroundCallback callback,
java.lang.Object context,
java.util.concurrent.Executor executor) |
Perform the action in the background
|
ErrorListenerPathable<java.util.List<java.lang.String>> |
inBackground(BackgroundCallback callback,
java.util.concurrent.Executor executor) |
Perform the action in the background
|
void |
performBackgroundOperation(org.apache.curator.framework.imps.OperationAndData<java.lang.String> operationAndData) |
|
WatchPathable<java.util.List<java.lang.String>> |
storingStatIn(org.apache.zookeeper.data.Stat stat) |
Have the operation fill the provided stat object
|
BackgroundPathable<java.util.List<java.lang.String>> |
usingWatcher(CuratorWatcher watcher) |
Set a watcher for the operation
|
BackgroundPathable<java.util.List<java.lang.String>> |
usingWatcher(org.apache.zookeeper.Watcher watcher) |
Set a watcher for the operation
|
BackgroundPathable<java.util.List<java.lang.String>> |
watched() |
Have the operation set a watch
|
Pathable<java.util.List<java.lang.String>> |
withUnhandledErrorListener(UnhandledErrorListener listener) |
Set an error listener for this background operation.
|
public GetChildrenBuilderImpl(CuratorFrameworkImpl client, org.apache.zookeeper.Watcher watcher, Backgrounding backgrounding, org.apache.zookeeper.data.Stat responseStat)
public WatchPathable<java.util.List<java.lang.String>> storingStatIn(org.apache.zookeeper.data.Stat stat)
StatablestoringStatIn in interface Statable<BackgroundPathable<java.util.List<java.lang.String>>>stat - the stat to have filled inpublic ErrorListenerPathable<java.util.List<java.lang.String>> inBackground(BackgroundCallback callback, java.lang.Object context)
BackgroundableinBackground in interface Backgroundable<BackgroundPathable<java.util.List<java.lang.String>>>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<java.util.List<java.lang.String>> inBackground(BackgroundCallback callback, java.lang.Object context, java.util.concurrent.Executor executor)
BackgroundableinBackground in interface Backgroundable<BackgroundPathable<java.util.List<java.lang.String>>>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<java.util.List<java.lang.String>> inBackground(BackgroundCallback callback)
BackgroundableinBackground in interface Backgroundable<BackgroundPathable<java.util.List<java.lang.String>>>callback - a functor that will get called when the operation has completedpublic ErrorListenerPathable<java.util.List<java.lang.String>> inBackground(BackgroundCallback callback, java.util.concurrent.Executor executor)
BackgroundableinBackground in interface Backgroundable<BackgroundPathable<java.util.List<java.lang.String>>>callback - a functor that will get called when the operation has completedexecutor - executor to use for the background callpublic ErrorListenerPathable<java.util.List<java.lang.String>> inBackground()
BackgroundableinBackground in interface Backgroundable<BackgroundPathable<java.util.List<java.lang.String>>>public ErrorListenerPathable<java.util.List<java.lang.String>> inBackground(java.lang.Object context)
BackgroundableinBackground in interface Backgroundable<BackgroundPathable<java.util.List<java.lang.String>>>context - context object - will be available from the event sent to the listenerpublic Pathable<java.util.List<java.lang.String>> withUnhandledErrorListener(UnhandledErrorListener listener)
ErrorListenerPathablewithUnhandledErrorListener in interface ErrorListenerPathable<java.util.List<java.lang.String>>listener - the listenerpublic BackgroundPathable<java.util.List<java.lang.String>> watched()
Watchablewatched in interface Watchable<BackgroundPathable<java.util.List<java.lang.String>>>public BackgroundPathable<java.util.List<java.lang.String>> usingWatcher(org.apache.zookeeper.Watcher watcher)
WatchableusingWatcher in interface Watchable<BackgroundPathable<java.util.List<java.lang.String>>>watcher - the watcherpublic BackgroundPathable<java.util.List<java.lang.String>> usingWatcher(CuratorWatcher watcher)
WatchableusingWatcher in interface Watchable<BackgroundPathable<java.util.List<java.lang.String>>>watcher - the watcherpublic void performBackgroundOperation(org.apache.curator.framework.imps.OperationAndData<java.lang.String> operationAndData)
throws java.lang.Exception
java.lang.Exceptionpublic java.util.List<java.lang.String> forPath(java.lang.String path)
throws java.lang.Exception
PathableforPath in interface Pathable<BackgroundPathable<java.util.List<java.lang.String>>>path - the pathjava.lang.Exception - errorsCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.