|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.curator.framework.imps.SyncBuilderImpl
public class SyncBuilderImpl
| Constructor Summary | |
|---|---|
SyncBuilderImpl(CuratorFrameworkImpl client)
|
|
| Method Summary | |
|---|---|
Void |
forPath(String path)
Commit the currently building operation using the given path |
Pathable<Void> |
inBackground()
Perform the action in the background |
Pathable<Void> |
inBackground(BackgroundCallback callback)
Perform the action in the background |
Pathable<Void> |
inBackground(BackgroundCallback callback,
Executor executor)
Perform the action in the background |
Pathable<Void> |
inBackground(BackgroundCallback callback,
Object context)
Perform the action in the background |
Pathable<Void> |
inBackground(BackgroundCallback callback,
Object context,
Executor executor)
Perform the action in the background |
Pathable<Void> |
inBackground(Object context)
Perform the action in the background |
void |
performBackgroundOperation(org.apache.curator.framework.imps.OperationAndData<String> operationAndData)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SyncBuilderImpl(CuratorFrameworkImpl client)
| Method Detail |
|---|
public Pathable<Void> inBackground()
Backgroundable
inBackground in interface Backgroundable<Pathable<Void>>public Pathable<Void> inBackground(Object context)
Backgroundable
inBackground in interface Backgroundable<Pathable<Void>>context - context object - will be available from the event sent to the listener
public Pathable<Void> inBackground(BackgroundCallback callback)
Backgroundable
inBackground in interface Backgroundable<Pathable<Void>>callback - a functor that will get called when the operation has completed
public Pathable<Void> inBackground(BackgroundCallback callback,
Object context)
Backgroundable
inBackground in interface Backgroundable<Pathable<Void>>callback - a functor that will get called when the operation has completedcontext - context object - will be available from the event sent to the listener
public Pathable<Void> inBackground(BackgroundCallback callback,
Executor executor)
Backgroundable
inBackground in interface Backgroundable<Pathable<Void>>callback - a functor that will get called when the operation has completedexecutor - executor to use for the background call
public Pathable<Void> inBackground(BackgroundCallback callback,
Object context,
Executor executor)
Backgroundable
inBackground in interface Backgroundable<Pathable<Void>>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 call
public void performBackgroundOperation(org.apache.curator.framework.imps.OperationAndData<String> operationAndData)
throws Exception
Exception
public Void forPath(String path)
throws Exception
Pathable
forPath in interface Pathable<Void>path - the path
Exception - errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||