|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.netflix.curator.framework.imps.CuratorFrameworkImpl
public class CuratorFrameworkImpl
| Constructor Summary | |
|---|---|
|
CuratorFrameworkImpl(CuratorFrameworkFactory.Builder builder)
|
protected |
CuratorFrameworkImpl(CuratorFrameworkImpl parent)
|
| 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 |
protected void |
internalSync(CuratorFrameworkImpl impl,
String path,
Object context)
|
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 context)
Perform a sync on the given path - syncs are always in the background |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CuratorFrameworkImpl(CuratorFrameworkFactory.Builder builder)
throws IOException
IOExceptionprotected CuratorFrameworkImpl(CuratorFrameworkImpl parent)
| Method Detail |
|---|
public boolean isStarted()
CuratorFramework
isStarted in interface CuratorFrameworkpublic void start()
CuratorFramework
start in interface CuratorFrameworkpublic void close()
CuratorFramework
close in interface CuratorFrameworkclose in interface Closeablepublic CuratorFramework nonNamespaceView()
CuratorFramework
nonNamespaceView in interface CuratorFrameworkpublic CreateBuilder create()
CuratorFramework
create in interface CuratorFrameworkpublic DeleteBuilder delete()
CuratorFramework
delete in interface CuratorFrameworkpublic ExistsBuilder checkExists()
CuratorFramework
checkExists in interface CuratorFrameworkpublic GetDataBuilder getData()
CuratorFramework
getData in interface CuratorFrameworkpublic SetDataBuilder setData()
CuratorFramework
setData in interface CuratorFrameworkpublic GetChildrenBuilder getChildren()
CuratorFramework
getChildren in interface CuratorFrameworkpublic GetACLBuilder getACL()
CuratorFramework
getACL in interface CuratorFrameworkpublic SetACLBuilder setACL()
CuratorFramework
setACL in interface CuratorFrameworkpublic Listenable<ConnectionStateListener> getConnectionStateListenable()
CuratorFramework
getConnectionStateListenable in interface CuratorFrameworkpublic Listenable<CuratorListener> getCuratorListenable()
CuratorFramework
getCuratorListenable in interface CuratorFrameworkpublic Listenable<UnhandledErrorListener> getUnhandledErrorListenable()
CuratorFramework
getUnhandledErrorListenable in interface CuratorFramework
public void sync(String path,
Object context)
CuratorFramework
sync in interface CuratorFrameworkpath - the pathcontext - optional context
protected void internalSync(CuratorFrameworkImpl impl,
String path,
Object context)
public CuratorZookeeperClient getZookeeperClient()
CuratorFramework
getZookeeperClient in interface CuratorFrameworkpublic EnsurePath newNamespaceAwareEnsurePath(String path)
CuratorFramework
newNamespaceAwareEnsurePath in interface CuratorFrameworkpath - path to ensure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||