|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CuratorFramework
Zookeeper framework-style client
| Method Summary | |
|---|---|
ExistsBuilder |
checkExists()
Start an exists builder |
void |
close()
Stop the client |
CreateBuilder |
create()
Start a create builder |
DeleteBuilder |
delete()
Start a delete builder |
GetACLBuilder |
getACL()
Start a get ACL builder |
GetChildrenBuilder |
getChildren()
Start a get children builder |
Listenable<ConnectionStateListener> |
getConnectionStateListenable()
Returns the listenable interface for the Connect State |
Listenable<CuratorListener> |
getCuratorListenable()
Returns the listenable interface for events |
GetDataBuilder |
getData()
Start a get data builder |
Listenable<UnhandledErrorListener> |
getUnhandledErrorListenable()
Returns the listenable interface for unhandled errors |
CuratorZookeeperClient |
getZookeeperClient()
Return the managed zookeeper client |
boolean |
isStarted()
Return true if the client is started, not closed, etc. |
EnsurePath |
newNamespaceAwareEnsurePath(String path)
Allocates an ensure path instance that is namespace aware |
CuratorFramework |
nonNamespaceView()
Returns a facade of the current instance that does _not_ automatically pre-pend the namespace to all paths |
SetACLBuilder |
setACL()
Start a set ACL builder |
SetDataBuilder |
setData()
Start a set data builder |
void |
start()
Start the client. |
void |
sync(String path,
Object backgroundContextObject)
Perform a sync on the given path - syncs are always in the background |
| Method Detail |
|---|
void start()
void close()
close in interface Closeableboolean isStarted()
CreateBuilder create()
DeleteBuilder delete()
ExistsBuilder checkExists()
GetDataBuilder getData()
SetDataBuilder setData()
GetChildrenBuilder getChildren()
GetACLBuilder getACL()
SetACLBuilder setACL()
void sync(String path,
Object backgroundContextObject)
path - the pathbackgroundContextObject - optional contextListenable<ConnectionStateListener> getConnectionStateListenable()
Listenable<CuratorListener> getCuratorListenable()
Listenable<UnhandledErrorListener> getUnhandledErrorListenable()
CuratorFramework nonNamespaceView()
CuratorZookeeperClient getZookeeperClient()
EnsurePath newNamespaceAwareEnsurePath(String path)
path - path to ensure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||