Backgroundable<byte[]>, Ensembleable<byte[]>, ErrorListenerEnsembleable<byte[]>, GetConfigBuilder, Statable<byte[]>, Watchable<byte[]>public class GetConfigBuilderImpl extends java.lang.Object implements GetConfigBuilder, ErrorListenerEnsembleable<byte[]>
| Constructor | Description |
|---|---|
GetConfigBuilderImpl(CuratorFrameworkImpl client) |
|
GetConfigBuilderImpl(CuratorFrameworkImpl client,
Backgrounding backgrounding,
org.apache.zookeeper.Watcher watcher,
org.apache.zookeeper.data.Stat stat) |
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
forEnsemble() |
|
ErrorListenerEnsembleable<byte[]> |
inBackground() |
Perform the action in the background
|
ErrorListenerEnsembleable<byte[]> |
inBackground(java.lang.Object context) |
Perform the action in the background
|
ErrorListenerEnsembleable<byte[]> |
inBackground(BackgroundCallback callback) |
Perform the action in the background
|
ErrorListenerEnsembleable<byte[]> |
inBackground(BackgroundCallback callback,
java.lang.Object context) |
Perform the action in the background
|
ErrorListenerEnsembleable<byte[]> |
inBackground(BackgroundCallback callback,
java.lang.Object context,
java.util.concurrent.Executor executor) |
Perform the action in the background
|
ErrorListenerEnsembleable<byte[]> |
inBackground(BackgroundCallback callback,
java.util.concurrent.Executor executor) |
Perform the action in the background
|
void |
performBackgroundOperation(org.apache.curator.framework.imps.OperationAndData<java.lang.Void> operationAndData) |
|
WatchBackgroundEnsembleable<byte[]> |
storingStatIn(org.apache.zookeeper.data.Stat stat) |
Have the operation fill the provided stat object
|
BackgroundEnsembleable<byte[]> |
usingWatcher(CuratorWatcher watcher) |
Set a watcher for the operation
|
BackgroundEnsembleable<byte[]> |
usingWatcher(org.apache.zookeeper.Watcher watcher) |
Set a watcher for the operation
|
BackgroundEnsembleable<byte[]> |
watched() |
Have the operation set a watch
|
Ensembleable<byte[]> |
withUnhandledErrorListener(UnhandledErrorListener listener) |
Set an error listener for this background operation.
|
public GetConfigBuilderImpl(CuratorFrameworkImpl client)
public GetConfigBuilderImpl(CuratorFrameworkImpl client, Backgrounding backgrounding, org.apache.zookeeper.Watcher watcher, org.apache.zookeeper.data.Stat stat)
public WatchBackgroundEnsembleable<byte[]> storingStatIn(org.apache.zookeeper.data.Stat stat)
StatablestoringStatIn in interface Statable<byte[]>stat - the stat to have filled inpublic BackgroundEnsembleable<byte[]> watched()
Watchablepublic BackgroundEnsembleable<byte[]> usingWatcher(org.apache.zookeeper.Watcher watcher)
WatchableusingWatcher in interface Watchable<byte[]>watcher - the watcherpublic BackgroundEnsembleable<byte[]> usingWatcher(CuratorWatcher watcher)
WatchableusingWatcher in interface Watchable<byte[]>watcher - the watcherpublic ErrorListenerEnsembleable<byte[]> inBackground()
BackgroundableinBackground in interface Backgroundable<byte[]>public ErrorListenerEnsembleable<byte[]> inBackground(java.lang.Object context)
BackgroundableinBackground in interface Backgroundable<byte[]>context - context object - will be available from the event sent to the listenerpublic ErrorListenerEnsembleable<byte[]> inBackground(BackgroundCallback callback)
BackgroundableinBackground in interface Backgroundable<byte[]>callback - a functor that will get called when the operation has completedpublic ErrorListenerEnsembleable<byte[]> inBackground(BackgroundCallback callback, java.lang.Object context)
BackgroundableinBackground in interface Backgroundable<byte[]>callback - a functor that will get called when the operation has completedcontext - context object - will be available from the event sent to the listenerpublic ErrorListenerEnsembleable<byte[]> inBackground(BackgroundCallback callback, java.util.concurrent.Executor executor)
BackgroundableinBackground in interface Backgroundable<byte[]>callback - a functor that will get called when the operation has completedexecutor - executor to use for the background callpublic ErrorListenerEnsembleable<byte[]> inBackground(BackgroundCallback callback, java.lang.Object context, java.util.concurrent.Executor executor)
BackgroundableinBackground in interface Backgroundable<byte[]>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 Ensembleable<byte[]> withUnhandledErrorListener(UnhandledErrorListener listener)
ErrorListenerEnsembleablewithUnhandledErrorListener in interface ErrorListenerEnsembleable<byte[]>listener - the listenerpublic byte[] forEnsemble()
throws java.lang.Exception
forEnsemble in interface Ensembleable<byte[]>java.lang.Exceptionpublic void performBackgroundOperation(org.apache.curator.framework.imps.OperationAndData<java.lang.Void> operationAndData)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.