public class LocalClusterSessionFactory.LocalSession extends Object implements ClusterInfoSession, DisruptibleSession
| Constructor and Description |
|---|
LocalSession() |
| Modifier and Type | Method and Description |
|---|---|
void |
disrupt() |
boolean |
exists(String path,
ClusterInfoWatcher watcher) |
Object |
getData(String path,
ClusterInfoWatcher watcher) |
Collection<String> |
getSubdirs(String path,
ClusterInfoWatcher watcher) |
String |
mkdir(String path,
Object data,
DirMode mode) |
void |
rmdir(String path) |
void |
setData(String path,
Object data) |
void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, recursiveMkdirpublic String mkdir(String path, Object data, DirMode mode) throws ClusterInfoException
mkdir in interface ClusterInfoSessionClusterInfoExceptionpublic void rmdir(String path) throws ClusterInfoException
rmdir in interface ClusterInfoSessionClusterInfoExceptionpublic boolean exists(String path, ClusterInfoWatcher watcher) throws ClusterInfoException
exists in interface ClusterInfoSessionClusterInfoExceptionpublic Object getData(String path, ClusterInfoWatcher watcher) throws ClusterInfoException
getData in interface ClusterInfoSessionClusterInfoExceptionpublic void setData(String path, Object data) throws ClusterInfoException
setData in interface ClusterInfoSessionClusterInfoExceptionpublic Collection<String> getSubdirs(String path, ClusterInfoWatcher watcher) throws ClusterInfoException
getSubdirs in interface ClusterInfoSessionClusterInfoExceptionpublic void stop()
stop in interface ClusterInfoSessionpublic void disrupt()
disrupt in interface DisruptibleSessionCopyright © 2017. All Rights Reserved.