Added: websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/KeeperException.SessionMovedException.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/KeeperException.SessionMovedException.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/KeeperException.SessionMovedException.html Mon Apr 17 17:22:07 2017 @@ -0,0 +1,116 @@ + + + +
+ +Copyright © 2017 The Apache Software Foundation
+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/KeeperException.SystemErrorException.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/KeeperException.SystemErrorException.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/KeeperException.SystemErrorException.html Mon Apr 17 17:22:07 2017 @@ -0,0 +1,116 @@ + + + + + +Copyright © 2017 The Apache Software Foundation
+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/KeeperException.UnimplementedException.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/KeeperException.UnimplementedException.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/KeeperException.UnimplementedException.html Mon Apr 17 17:22:07 2017 @@ -0,0 +1,116 @@ + + + + + +Copyright © 2017 The Apache Software Foundation
+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/KeeperException.UnknownSessionException.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/KeeperException.UnknownSessionException.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/KeeperException.UnknownSessionException.html Mon Apr 17 17:22:07 2017 @@ -0,0 +1,116 @@ + + + + + +Copyright © 2017 The Apache Software Foundation
+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/KeeperException.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/KeeperException.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/KeeperException.html Mon Apr 17 17:22:07 2017 @@ -0,0 +1,566 @@ + + + + + +Package | +Description | +
---|---|
org.apache.zookeeper | ++ |
org.apache.zookeeper.admin | ++ |
Modifier and Type | +Method and Description | +
---|---|
static KeeperException |
+KeeperException.create(int code)
+Deprecated.
+
+deprecated in 3.1.0, use
+create(Code)
+ instead |
+
static KeeperException |
+KeeperException.create(int code,
+ String path)
+Deprecated.
+
+deprecated in 3.1.0, use
+create(Code, String)
+ instead |
+
static KeeperException |
+KeeperException.create(KeeperException.Code code)
+All non-specific keeper exceptions should be constructed via
+ this factory method in order to guarantee consistency in error
+ codes and such.
+ |
+
static KeeperException |
+KeeperException.create(KeeperException.Code code,
+ String path)
+All non-specific keeper exceptions should be constructed via
+ this factory method in order to guarantee consistency in error
+ codes and such.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+ZooKeeper.create(String path,
+ byte[] data,
+ List<ACL> acl,
+ CreateMode createMode)
+Create a node with the given path.
+ |
+
String |
+ZooKeeper.create(String path,
+ byte[] data,
+ List<ACL> acl,
+ CreateMode createMode,
+ Stat stat)
+Create a node with the given path and returns the Stat of that node.
+ |
+
String |
+ZooKeeper.create(String path,
+ byte[] data,
+ List<ACL> acl,
+ CreateMode createMode,
+ Stat stat,
+ long ttl)
+same as
+ZooKeeper.create(String, byte[], List, CreateMode, Stat) but
+ allows for specifying a TTL when mode is CreateMode.PERSISTENT_WITH_TTL
+ or CreateMode.PERSISTENT_SEQUENTIAL_WITH_TTL . |
+
static boolean |
+ZooKeeperMain.createQuota(ZooKeeper zk,
+ String path,
+ long bytes,
+ int numNodes)
+this method creates a quota node for the path
+ |
+
void |
+ZooKeeper.delete(String path,
+ int version)
+Delete the node with the given path.
+ |
+
static boolean |
+ZooKeeperMain.delQuota(ZooKeeper zk,
+ String path,
+ boolean bytes,
+ boolean numNodes)
+this method deletes quota for a node.
+ |
+
Stat |
+ZooKeeper.exists(String path,
+ boolean watch)
+Return the stat of the node of the given path.
+ |
+
Stat |
+ZooKeeper.exists(String path,
+ Watcher watcher)
+Return the stat of the node of the given path.
+ |
+
static CreateMode |
+CreateMode.fromFlag(int flag)
+Map an integer value to a CreateMode value
+ |
+
List<ACL> |
+ZooKeeper.getACL(String path,
+ Stat stat)
+Return the ACL and stat of the node of the given path.
+ |
+
List<String> |
+ZooKeeper.getChildren(String path,
+ boolean watch)
+Return the list of the children of the node of the given path.
+ |
+
List<String> |
+ZooKeeper.getChildren(String path,
+ boolean watch,
+ Stat stat)
+For the given znode path return the stat and children list.
+ |
+
List<String> |
+ZooKeeper.getChildren(String path,
+ Watcher watcher)
+Return the list of the children of the node of the given path.
+ |
+
List<String> |
+ZooKeeper.getChildren(String path,
+ Watcher watcher,
+ Stat stat)
+For the given znode path return the stat and children list.
+ |
+
byte[] |
+ZooKeeper.getConfig(boolean watch,
+ Stat stat)
+Return the last committed configuration (as known to the server to which the client is connected)
+ and the stat of the configuration.
+ |
+
byte[] |
+ZooKeeper.getConfig(Watcher watcher,
+ Stat stat)
+Return the last committed configuration (as known to the server to which the client is connected)
+ and the stat of the configuration.
+ |
+
byte[] |
+ZooKeeper.getData(String path,
+ boolean watch,
+ Stat stat)
+Return the data and the stat of the node of the given path.
+ |
+
byte[] |
+ZooKeeper.getData(String path,
+ Watcher watcher,
+ Stat stat)
+Return the data and the stat of the node of the given path.
+ |
+
List<org.apache.zookeeper.OpResult> |
+ZooKeeper.multi(Iterable<org.apache.zookeeper.Op> ops)
+Executes multiple ZooKeeper operations or none of them.
+ |
+
byte[] |
+ZooKeeper.reconfig(List<String> joiningServers,
+ List<String> leavingServers,
+ List<String> newMembers,
+ long fromConfig,
+ Stat stat)
+Deprecated.
+
+instead use the reconfigure() methods instead in
+ZooKeeperAdmin |
+
byte[] |
+ZooKeeper.reconfig(String joiningServers,
+ String leavingServers,
+ String newMembers,
+ long fromConfig,
+ Stat stat)
+Deprecated.
+
+instead use the reconfigure() methods instead in
+ZooKeeperAdmin |
+
void |
+ZooKeeper.removeAllWatches(String path,
+ Watcher.WatcherType watcherType,
+ boolean local)
+For the given znode path, removes all the registered watchers of given
+ watcherType.
+ |
+
void |
+ZooKeeper.removeWatches(String path,
+ Watcher watcher,
+ Watcher.WatcherType watcherType,
+ boolean local)
+For the given znode path, removes the specified watcher of given
+ watcherType.
+ |
+
Stat |
+ZooKeeper.setACL(String path,
+ List<ACL> acl,
+ int version)
+Set the ACL for the node of the given path if such a node exists and the
+ given version matches the version of the node.
+ |
+
Stat |
+ZooKeeper.setData(String path,
+ byte[] data,
+ int version)
+Set the data for the node of the given path if such a node exists and the
+ given version matches the version of the node (if the given version is
+ -1, it matches any node's versions).
+ |
+
Modifier and Type | +Method and Description | +
---|---|
byte[] |
+ZooKeeperAdmin.reconfigure(List<String> joiningServers,
+ List<String> leavingServers,
+ List<String> newMembers,
+ long fromConfig,
+ Stat stat)
+Convenience wrapper around reconfig that takes Lists of strings instead of comma-separated servers.
+ |
+
byte[] |
+ZooKeeperAdmin.reconfigure(String joiningServers,
+ String leavingServers,
+ String newMembers,
+ long fromConfig,
+ Stat stat)
+Reconfigure - add/remove servers.
+ |
+
Copyright © 2017 The Apache Software Foundation
+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/ServerAdminClient.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/ServerAdminClient.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/ServerAdminClient.html Mon Apr 17 17:22:07 2017 @@ -0,0 +1,116 @@ + + + + + +Copyright © 2017 The Apache Software Foundation
+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/WatchedEvent.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/WatchedEvent.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/WatchedEvent.html Mon Apr 17 17:22:07 2017 @@ -0,0 +1,156 @@ + + + + + +Package | +Description | +
---|---|
org.apache.zookeeper | ++ |
Modifier and Type | +Method and Description | +
---|---|
void |
+Watcher.process(WatchedEvent event) |
+
Copyright © 2017 The Apache Software Foundation
+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/Watcher.Event.EventType.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/Watcher.Event.EventType.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/class-use/Watcher.Event.EventType.html Mon Apr 17 17:22:07 2017 @@ -0,0 +1,188 @@ + + + + + +Package | +Description | +
---|---|
org.apache.zookeeper | ++ |
Modifier and Type | +Method and Description | +
---|---|
static Watcher.Event.EventType |
+Watcher.Event.EventType.fromInt(int intValue) |
+
Watcher.Event.EventType |
+WatchedEvent.getType() |
+
static Watcher.Event.EventType |
+Watcher.Event.EventType.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Watcher.Event.EventType[] |
+Watcher.Event.EventType.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Constructor and Description | +
---|
WatchedEvent(Watcher.Event.EventType eventType,
+ Watcher.Event.KeeperState keeperState,
+ String path)
+Create a WatchedEvent with specified type, state and path
+ |
+
Copyright © 2017 The Apache Software Foundation
+ +