A B C D E F G H I K L M N O P Q R S T U V W Z

A

ACL - Class in org.apache.zookeeper.data
 
ACL() - Constructor for class org.apache.zookeeper.data.ACL
 
ACL(int, Id) - Constructor for class org.apache.zookeeper.data.ACL
 
addAuthInfo(String, byte[]) - Method in class org.apache.zookeeper.ZooKeeper
Add the specified scheme:auth information to this connection.
ADMIN - Static variable in interface org.apache.zookeeper.ZooDefs.Perms
 
ALL - Static variable in interface org.apache.zookeeper.ZooDefs.Perms
 
ANYONE_ID_UNSAFE - Static variable in interface org.apache.zookeeper.ZooDefs.Ids
This Id represents anyone.
APIError - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.APIERROR instead
AsyncCallback - Interface in org.apache.zookeeper
 
AsyncCallback.ACLCallback - Interface in org.apache.zookeeper
 
AsyncCallback.Children2Callback - Interface in org.apache.zookeeper
 
AsyncCallback.ChildrenCallback - Interface in org.apache.zookeeper
 
AsyncCallback.DataCallback - Interface in org.apache.zookeeper
 
AsyncCallback.StatCallback - Interface in org.apache.zookeeper
 
AsyncCallback.StringCallback - Interface in org.apache.zookeeper
 
AsyncCallback.VoidCallback - Interface in org.apache.zookeeper
 
auth - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
AUTH_IDS - Static variable in interface org.apache.zookeeper.ZooDefs.Ids
This Id is only usable to set ACLs.
AuthFailed - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.AUTHFAILED instead

B

BadArguments - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.BADARGUMENTS instead
BadVersion - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.BADVERSION instead

C

check - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
close() - Method in class org.apache.zookeeper.ZooKeeper
Close this client object.
closeSession - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
code() - Method in exception org.apache.zookeeper.KeeperException
Read the error Code for this exception
compareTo(Object) - Method in class org.apache.zookeeper.data.ACL
 
compareTo(Object) - Method in class org.apache.zookeeper.data.Id
 
compareTo(Object) - Method in class org.apache.zookeeper.data.Stat
 
compareTo(Object) - Method in class org.apache.zookeeper.data.StatPersisted
 
compareTo(Object) - Method in class org.apache.zookeeper.data.StatPersistedV1
 
ConnectionLoss - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.CONNECTIONLOSS instead
create(KeeperException.Code, String) - Static method in exception org.apache.zookeeper.KeeperException
All non-specific keeper exceptions should be constructed via this factory method in order to guarantee consistency in error codes and such.
create(int, String) - Static method in exception org.apache.zookeeper.KeeperException
Deprecated. deprecated in 3.1.0, use KeeperException.create(Code, String) instead
create(int) - Static method in exception org.apache.zookeeper.KeeperException
Deprecated. deprecated in 3.1.0, use KeeperException.create(Code) instead
create(KeeperException.Code) - Static method in exception org.apache.zookeeper.KeeperException
All non-specific keeper exceptions should be constructed via this factory method in order to guarantee consistency in error codes and such.
create - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
CREATE - Static variable in interface org.apache.zookeeper.ZooDefs.Perms
 
create(String, byte[], List<ACL>, CreateMode) - Method in class org.apache.zookeeper.ZooKeeper
Create a node with the given path.
create(String, byte[], List<ACL>, CreateMode, AsyncCallback.StringCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
The asynchronous version of create.
CreateMode - Enum in org.apache.zookeeper
CreateMode value determines how the znode is created on ZooKeeper.
createQuota(ZooKeeper, String, long, int) - Static method in class org.apache.zookeeper.ZooKeeperMain
this method creates a quota node for the path
createSession - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
CREATOR_ALL_ACL - Static variable in interface org.apache.zookeeper.ZooDefs.Ids
This ACL gives the creators authentication id's all permissions.

D

DataInconsistency - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.DATAINCONSISTENCY instead
delete - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
DELETE - Static variable in interface org.apache.zookeeper.ZooDefs.Perms
 
delete(String, int) - Method in class org.apache.zookeeper.ZooKeeper
Delete the node with the given path.
delete(String, int, AsyncCallback.VoidCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
The asynchronous version of delete.
delQuota(ZooKeeper, String, boolean, boolean) - Static method in class org.apache.zookeeper.ZooKeeperMain
this method deletes quota for a node.
deserialize(InputArchive, String) - Method in class org.apache.zookeeper.data.ACL
 
deserialize(InputArchive, String) - Method in class org.apache.zookeeper.data.Id
 
deserialize(InputArchive, String) - Method in class org.apache.zookeeper.data.Stat
 
deserialize(InputArchive, String) - Method in class org.apache.zookeeper.data.StatPersisted
 
deserialize(InputArchive, String) - Method in class org.apache.zookeeper.data.StatPersistedV1
 
dump(String, int) - Static method in class org.apache.zookeeper.ServerAdminClient
 

E

equals(Object) - Method in class org.apache.zookeeper.data.ACL
 
equals(Object) - Method in class org.apache.zookeeper.data.Id
 
equals(Object) - Method in class org.apache.zookeeper.data.Stat
 
equals(Object) - Method in class org.apache.zookeeper.data.StatPersisted
 
equals(Object) - Method in class org.apache.zookeeper.data.StatPersistedV1
 
error - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
executeLine(String) - Method in class org.apache.zookeeper.ZooKeeperMain
 
exists - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
exists(String, Watcher) - Method in class org.apache.zookeeper.ZooKeeper
Return the stat of the node of the given path.
exists(String, boolean) - Method in class org.apache.zookeeper.ZooKeeper
Return the stat of the node of the given path.
exists(String, Watcher, AsyncCallback.StatCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
The asynchronous version of exists.
exists(String, boolean, AsyncCallback.StatCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
The asynchronous version of exists.

F

FourLetterWordMain - Class in org.apache.zookeeper.client
 
FourLetterWordMain() - Constructor for class org.apache.zookeeper.client.FourLetterWordMain
 
fromFlag(int) - Static method in enum org.apache.zookeeper.CreateMode
Map an integer value to a CreateMode value
fromInt(int) - Static method in enum org.apache.zookeeper.Watcher.Event.EventType
 
fromInt(int) - Static method in enum org.apache.zookeeper.Watcher.Event.KeeperState
 

G

get(int) - Static method in enum org.apache.zookeeper.KeeperException.Code
Get the Code value for a particular integer error code
getACL - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
getACL(String, Stat) - Method in class org.apache.zookeeper.ZooKeeper
Return the ACL and stat of the node of the given path.
getACL(String, Stat, AsyncCallback.ACLCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
The asynchronous version of getACL.
getAversion() - Method in class org.apache.zookeeper.data.Stat
 
getAversion() - Method in class org.apache.zookeeper.data.StatPersisted
 
getAversion() - Method in class org.apache.zookeeper.data.StatPersistedV1
 
getChildren - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
getChildren(String, Watcher) - Method in class org.apache.zookeeper.ZooKeeper
Return the list of the children of the node of the given path.
getChildren(String, boolean) - Method in class org.apache.zookeeper.ZooKeeper
Return the list of the children of the node of the given path.
getChildren(String, Watcher, AsyncCallback.ChildrenCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
The asynchronous version of getChildren.
getChildren(String, boolean, AsyncCallback.ChildrenCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
The asynchronous version of getChildren.
getChildren(String, Watcher, Stat) - Method in class org.apache.zookeeper.ZooKeeper
For the given znode path return the stat and children list.
getChildren(String, boolean, Stat) - Method in class org.apache.zookeeper.ZooKeeper
For the given znode path return the stat and children list.
getChildren(String, Watcher, AsyncCallback.Children2Callback, Object) - Method in class org.apache.zookeeper.ZooKeeper
The asynchronous version of getChildren.
getChildren(String, boolean, AsyncCallback.Children2Callback, Object) - Method in class org.apache.zookeeper.ZooKeeper
The asynchronous version of getChildren.
getChildren2 - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
getCode() - Method in exception org.apache.zookeeper.KeeperException
Deprecated. deprecated in 3.1.0, use KeeperException.code() instead
getCommands() - Static method in class org.apache.zookeeper.ZooKeeperMain
 
getCtime() - Method in class org.apache.zookeeper.data.Stat
 
getCtime() - Method in class org.apache.zookeeper.data.StatPersisted
 
getCtime() - Method in class org.apache.zookeeper.data.StatPersistedV1
 
getCversion() - Method in class org.apache.zookeeper.data.Stat
 
getCversion() - Method in class org.apache.zookeeper.data.StatPersisted
 
getCversion() - Method in class org.apache.zookeeper.data.StatPersistedV1
 
getCzxid() - Method in class org.apache.zookeeper.data.Stat
 
getCzxid() - Method in class org.apache.zookeeper.data.StatPersisted
 
getCzxid() - Method in class org.apache.zookeeper.data.StatPersistedV1
 
getData - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
getData(String, Watcher, Stat) - Method in class org.apache.zookeeper.ZooKeeper
Return the data and the stat of the node of the given path.
getData(String, boolean, Stat) - Method in class org.apache.zookeeper.ZooKeeper
Return the data and the stat of the node of the given path.
getData(String, Watcher, AsyncCallback.DataCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
The asynchronous version of getData.
getData(String, boolean, AsyncCallback.DataCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
The asynchronous version of getData.
getDataLength() - Method in class org.apache.zookeeper.data.Stat
 
getEphemeralOwner() - Method in class org.apache.zookeeper.data.Stat
 
getEphemeralOwner() - Method in class org.apache.zookeeper.data.StatPersisted
 
getEphemeralOwner() - Method in class org.apache.zookeeper.data.StatPersistedV1
 
getId() - Method in class org.apache.zookeeper.data.ACL
 
getId() - Method in class org.apache.zookeeper.data.Id
 
getIntValue() - Method in enum org.apache.zookeeper.Watcher.Event.EventType
 
getIntValue() - Method in enum org.apache.zookeeper.Watcher.Event.KeeperState
 
getMessage() - Method in exception org.apache.zookeeper.KeeperException
 
getMtime() - Method in class org.apache.zookeeper.data.Stat
 
getMtime() - Method in class org.apache.zookeeper.data.StatPersisted
 
getMtime() - Method in class org.apache.zookeeper.data.StatPersistedV1
 
getMzxid() - Method in class org.apache.zookeeper.data.Stat
 
getMzxid() - Method in class org.apache.zookeeper.data.StatPersisted
 
getMzxid() - Method in class org.apache.zookeeper.data.StatPersistedV1
 
getNumChildren() - Method in class org.apache.zookeeper.data.Stat
 
getPath() - Method in exception org.apache.zookeeper.KeeperException
Read the path for this exception
getPath() - Method in class org.apache.zookeeper.WatchedEvent
 
getPerms() - Method in class org.apache.zookeeper.data.ACL
 
getPrintWatches() - Method in class org.apache.zookeeper.ZooKeeperMain
 
getPzxid() - Method in class org.apache.zookeeper.data.Stat
 
getPzxid() - Method in class org.apache.zookeeper.data.StatPersisted
 
getResults() - Method in exception org.apache.zookeeper.KeeperException
If this exception was thrown by a multi-request then the (partial) results and error codes can be retrieved using this getter.
getSaslClient() - Method in class org.apache.zookeeper.ZooKeeper
 
getScheme() - Method in class org.apache.zookeeper.data.Id
 
getSessionId() - Method in class org.apache.zookeeper.ZooKeeper
The session id for this ZooKeeper client instance.
getSessionPasswd() - Method in class org.apache.zookeeper.ZooKeeper
The session password for this ZooKeeper client instance.
getSessionTimeout() - Method in class org.apache.zookeeper.ZooKeeper
The negotiated session timeout for this ZooKeeper client instance.
getState() - Method in class org.apache.zookeeper.WatchedEvent
 
getState() - Method in class org.apache.zookeeper.ZooKeeper
 
getTraceMask(String, int) - Static method in class org.apache.zookeeper.ServerAdminClient
 
getType() - Method in class org.apache.zookeeper.WatchedEvent
 
getVersion() - Method in class org.apache.zookeeper.data.Stat
 
getVersion() - Method in class org.apache.zookeeper.data.StatPersisted
 
getVersion() - Method in class org.apache.zookeeper.data.StatPersistedV1
 
getWrapper() - Method in class org.apache.zookeeper.WatchedEvent
Convert WatchedEvent to type that can be sent over network

H

hashCode() - Method in class org.apache.zookeeper.data.ACL
 
hashCode() - Method in class org.apache.zookeeper.data.Id
 
hashCode() - Method in class org.apache.zookeeper.data.Stat
 
hashCode() - Method in class org.apache.zookeeper.data.StatPersisted
 
hashCode() - Method in class org.apache.zookeeper.data.StatPersistedV1
 

I

Id - Class in org.apache.zookeeper.data
 
Id() - Constructor for class org.apache.zookeeper.data.Id
 
Id(String, String) - Constructor for class org.apache.zookeeper.data.Id
 
intValue() - Method in enum org.apache.zookeeper.KeeperException.Code
Get the int value for a particular Code.
InvalidACL - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.INVALIDACL instead
InvalidCallback - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.INVALIDCALLBACK instead
isAlive() - Method in enum org.apache.zookeeper.ZooKeeper.States
 
isConnected() - Method in enum org.apache.zookeeper.ZooKeeper.States
Returns whether we are connected to a server (which could possibly be read-only, if this client is allowed to go to read-only mode)
isEphemeral() - Method in enum org.apache.zookeeper.CreateMode
 
isSequential() - Method in enum org.apache.zookeeper.CreateMode
 

K

KeeperException - Exception in org.apache.zookeeper
 
KeeperException(KeeperException.Code) - Constructor for exception org.apache.zookeeper.KeeperException
 
KeeperException.APIErrorException - Exception in org.apache.zookeeper
 
KeeperException.APIErrorException() - Constructor for exception org.apache.zookeeper.KeeperException.APIErrorException
 
KeeperException.AuthFailedException - Exception in org.apache.zookeeper
 
KeeperException.AuthFailedException() - Constructor for exception org.apache.zookeeper.KeeperException.AuthFailedException
 
KeeperException.BadArgumentsException - Exception in org.apache.zookeeper
 
KeeperException.BadArgumentsException() - Constructor for exception org.apache.zookeeper.KeeperException.BadArgumentsException
 
KeeperException.BadArgumentsException(String) - Constructor for exception org.apache.zookeeper.KeeperException.BadArgumentsException
 
KeeperException.BadVersionException - Exception in org.apache.zookeeper
 
KeeperException.BadVersionException() - Constructor for exception org.apache.zookeeper.KeeperException.BadVersionException
 
KeeperException.BadVersionException(String) - Constructor for exception org.apache.zookeeper.KeeperException.BadVersionException
 
KeeperException.Code - Enum in org.apache.zookeeper
Codes which represent the various KeeperException types.
KeeperException.CodeDeprecated - Interface in org.apache.zookeeper
Deprecated. 
KeeperException.ConnectionLossException - Exception in org.apache.zookeeper
 
KeeperException.ConnectionLossException() - Constructor for exception org.apache.zookeeper.KeeperException.ConnectionLossException
 
KeeperException.DataInconsistencyException - Exception in org.apache.zookeeper
 
KeeperException.DataInconsistencyException() - Constructor for exception org.apache.zookeeper.KeeperException.DataInconsistencyException
 
KeeperException.InvalidACLException - Exception in org.apache.zookeeper
 
KeeperException.InvalidACLException() - Constructor for exception org.apache.zookeeper.KeeperException.InvalidACLException
 
KeeperException.InvalidACLException(String) - Constructor for exception org.apache.zookeeper.KeeperException.InvalidACLException
 
KeeperException.InvalidCallbackException - Exception in org.apache.zookeeper
 
KeeperException.InvalidCallbackException() - Constructor for exception org.apache.zookeeper.KeeperException.InvalidCallbackException
 
KeeperException.MarshallingErrorException - Exception in org.apache.zookeeper
 
KeeperException.MarshallingErrorException() - Constructor for exception org.apache.zookeeper.KeeperException.MarshallingErrorException
 
KeeperException.NoAuthException - Exception in org.apache.zookeeper
 
KeeperException.NoAuthException() - Constructor for exception org.apache.zookeeper.KeeperException.NoAuthException
 
KeeperException.NoChildrenForEphemeralsException - Exception in org.apache.zookeeper
 
KeeperException.NoChildrenForEphemeralsException() - Constructor for exception org.apache.zookeeper.KeeperException.NoChildrenForEphemeralsException
 
KeeperException.NoChildrenForEphemeralsException(String) - Constructor for exception org.apache.zookeeper.KeeperException.NoChildrenForEphemeralsException
 
KeeperException.NodeExistsException - Exception in org.apache.zookeeper
 
KeeperException.NodeExistsException() - Constructor for exception org.apache.zookeeper.KeeperException.NodeExistsException
 
KeeperException.NodeExistsException(String) - Constructor for exception org.apache.zookeeper.KeeperException.NodeExistsException
 
KeeperException.NoNodeException - Exception in org.apache.zookeeper
 
KeeperException.NoNodeException() - Constructor for exception org.apache.zookeeper.KeeperException.NoNodeException
 
KeeperException.NoNodeException(String) - Constructor for exception org.apache.zookeeper.KeeperException.NoNodeException
 
KeeperException.NotEmptyException - Exception in org.apache.zookeeper
 
KeeperException.NotEmptyException() - Constructor for exception org.apache.zookeeper.KeeperException.NotEmptyException
 
KeeperException.NotEmptyException(String) - Constructor for exception org.apache.zookeeper.KeeperException.NotEmptyException
 
KeeperException.NotReadOnlyException - Exception in org.apache.zookeeper
 
KeeperException.NotReadOnlyException() - Constructor for exception org.apache.zookeeper.KeeperException.NotReadOnlyException
 
KeeperException.OperationTimeoutException - Exception in org.apache.zookeeper
 
KeeperException.OperationTimeoutException() - Constructor for exception org.apache.zookeeper.KeeperException.OperationTimeoutException
 
KeeperException.RuntimeInconsistencyException - Exception in org.apache.zookeeper
 
KeeperException.RuntimeInconsistencyException() - Constructor for exception org.apache.zookeeper.KeeperException.RuntimeInconsistencyException
 
KeeperException.SessionExpiredException - Exception in org.apache.zookeeper
 
KeeperException.SessionExpiredException() - Constructor for exception org.apache.zookeeper.KeeperException.SessionExpiredException
 
KeeperException.SessionMovedException - Exception in org.apache.zookeeper
 
KeeperException.SessionMovedException() - Constructor for exception org.apache.zookeeper.KeeperException.SessionMovedException
 
KeeperException.SystemErrorException - Exception in org.apache.zookeeper
 
KeeperException.SystemErrorException() - Constructor for exception org.apache.zookeeper.KeeperException.SystemErrorException
 
KeeperException.UnimplementedException - Exception in org.apache.zookeeper
 
KeeperException.UnimplementedException() - Constructor for exception org.apache.zookeeper.KeeperException.UnimplementedException
 
kill(String, int) - Static method in class org.apache.zookeeper.ServerAdminClient
 

L

LogFormatter - Class in org.apache.zookeeper.server
 
LogFormatter() - Constructor for class org.apache.zookeeper.server.LogFormatter
 

M

main(String[]) - Static method in class org.apache.zookeeper.client.FourLetterWordMain
 
main(String[]) - Static method in class org.apache.zookeeper.server.LogFormatter
 
main(String[]) - Static method in class org.apache.zookeeper.server.PurgeTxnLog
 
main(String[]) - Static method in class org.apache.zookeeper.server.quorum.QuorumPeerMain
To start the replicated server specify the configuration file name on the command line.
main(String[]) - Static method in class org.apache.zookeeper.server.SnapshotFormatter
USAGE: SnapshotFormatter snapshot_file
main(String[]) - Static method in class org.apache.zookeeper.server.upgrade.UpgradeMain
 
main(String[]) - Static method in class org.apache.zookeeper.server.ZooKeeperServerMain
 
main(String[]) - Static method in class org.apache.zookeeper.ServerAdminClient
 
main(String[]) - Static method in class org.apache.zookeeper.ZooKeeperMain
 
MarshallingError - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.MARSHALLINGERROR instead
multi - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
multi(Iterable<Op>) - Method in class org.apache.zookeeper.ZooKeeper
Executes multiple ZooKeeper operations or none of them.

N

NoAuth - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.NOAUTH instead
NoChildrenForEphemerals - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.NOCHILDRENFOREPHEMERALS instead
NodeExists - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.NODEEXISTS instead
NoNode - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.NONODE instead
NotEmpty - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.NOTEMPTY instead
notification - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 

O

Ok - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.OK instead
OPEN_ACL_UNSAFE - Static variable in interface org.apache.zookeeper.ZooDefs.Ids
This is a completely open ACL .
OperationTimeout - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.OPERATIONTIMEOUT instead
opNames - Static variable in class org.apache.zookeeper.ZooDefs
 
org.apache.zookeeper.data - package org.apache.zookeeper.data
 

P

ping - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
printMessage(String) - Static method in class org.apache.zookeeper.ZooKeeperMain
 
process(WatchedEvent) - Method in interface org.apache.zookeeper.Watcher
 
processResult(int, String, Object, List<ACL>, Stat) - Method in interface org.apache.zookeeper.AsyncCallback.ACLCallback
 
processResult(int, String, Object, List<String>, Stat) - Method in interface org.apache.zookeeper.AsyncCallback.Children2Callback
 
processResult(int, String, Object, List<String>) - Method in interface org.apache.zookeeper.AsyncCallback.ChildrenCallback
 
processResult(int, String, Object, byte[], Stat) - Method in interface org.apache.zookeeper.AsyncCallback.DataCallback
 
processResult(int, String, Object, Stat) - Method in interface org.apache.zookeeper.AsyncCallback.StatCallback
 
processResult(int, String, Object, String) - Method in interface org.apache.zookeeper.AsyncCallback.StringCallback
 
processResult(int, String, Object) - Method in interface org.apache.zookeeper.AsyncCallback.VoidCallback
 
purge(File, File, int) - Static method in class org.apache.zookeeper.server.PurgeTxnLog
purges the snapshot and logs keeping the last num snapshots and the corresponding logs.
PurgeTxnLog - Class in org.apache.zookeeper.server
this class is used to clean up the snapshot and data log dir's.
PurgeTxnLog() - Constructor for class org.apache.zookeeper.server.PurgeTxnLog
 

Q

QuorumPeerMain - Class in org.apache.zookeeper.server.quorum
Configuration file
QuorumPeerMain() - Constructor for class org.apache.zookeeper.server.quorum.QuorumPeerMain
 

R

READ - Static variable in interface org.apache.zookeeper.ZooDefs.Perms
 
READ_ACL_UNSAFE - Static variable in interface org.apache.zookeeper.ZooDefs.Ids
This ACL gives the world the ability to read.
readFields(DataInput) - Method in class org.apache.zookeeper.data.ACL
 
readFields(DataInput) - Method in class org.apache.zookeeper.data.Id
 
readFields(DataInput) - Method in class org.apache.zookeeper.data.Stat
 
readFields(DataInput) - Method in class org.apache.zookeeper.data.StatPersisted
 
readFields(DataInput) - Method in class org.apache.zookeeper.data.StatPersistedV1
 
register(Watcher) - Method in class org.apache.zookeeper.ZooKeeper
Specify the default watcher for the connection (overrides the one specified during construction).
run(String) - Method in class org.apache.zookeeper.server.SnapshotFormatter
 
runFromConfig(QuorumPeerConfig) - Method in class org.apache.zookeeper.server.quorum.QuorumPeerMain
 
runFromConfig(ServerConfig) - Method in class org.apache.zookeeper.server.ZooKeeperServerMain
Run from a ServerConfig.
RuntimeInconsistency - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.RUNTIMEINCONSISTENCY instead
runUpgrade() - Method in class org.apache.zookeeper.server.upgrade.UpgradeMain
run the upgrade
ruok(String, int) - Static method in class org.apache.zookeeper.ServerAdminClient
 

S

sasl - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
send4LetterWord(String, int, String) - Static method in class org.apache.zookeeper.client.FourLetterWordMain
Send the 4letterword
serialize(OutputArchive, String) - Method in class org.apache.zookeeper.data.ACL
 
serialize(OutputArchive, String) - Method in class org.apache.zookeeper.data.Id
 
serialize(OutputArchive, String) - Method in class org.apache.zookeeper.data.Stat
 
serialize(OutputArchive, String) - Method in class org.apache.zookeeper.data.StatPersisted
 
serialize(OutputArchive, String) - Method in class org.apache.zookeeper.data.StatPersistedV1
 
ServerAdminClient - Class in org.apache.zookeeper
 
ServerAdminClient() - Constructor for class org.apache.zookeeper.ServerAdminClient
 
SessionExpired - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.SESSIONEXPIRED instead
setACL - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
setACL(String, List<ACL>, int) - Method in class org.apache.zookeeper.ZooKeeper
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.
setACL(String, List<ACL>, int, AsyncCallback.StatCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
The asynchronous version of setACL.
setAversion(int) - Method in class org.apache.zookeeper.data.Stat
 
setAversion(int) - Method in class org.apache.zookeeper.data.StatPersisted
 
setAversion(int) - Method in class org.apache.zookeeper.data.StatPersistedV1
 
setCode(int) - Method in exception org.apache.zookeeper.KeeperException
Deprecated. deprecated in 3.1.0, exceptions should be immutable, this method should not be used
setCtime(long) - Method in class org.apache.zookeeper.data.Stat
 
setCtime(long) - Method in class org.apache.zookeeper.data.StatPersisted
 
setCtime(long) - Method in class org.apache.zookeeper.data.StatPersistedV1
 
setCversion(int) - Method in class org.apache.zookeeper.data.Stat
 
setCversion(int) - Method in class org.apache.zookeeper.data.StatPersisted
 
setCversion(int) - Method in class org.apache.zookeeper.data.StatPersistedV1
 
setCzxid(long) - Method in class org.apache.zookeeper.data.Stat
 
setCzxid(long) - Method in class org.apache.zookeeper.data.StatPersisted
 
setCzxid(long) - Method in class org.apache.zookeeper.data.StatPersistedV1
 
setData - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
setData(String, byte[], int) - Method in class org.apache.zookeeper.ZooKeeper
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).
setData(String, byte[], int, AsyncCallback.StatCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
The asynchronous version of setData.
setDataLength(int) - Method in class org.apache.zookeeper.data.Stat
 
setEphemeralOwner(long) - Method in class org.apache.zookeeper.data.Stat
 
setEphemeralOwner(long) - Method in class org.apache.zookeeper.data.StatPersisted
 
setEphemeralOwner(long) - Method in class org.apache.zookeeper.data.StatPersistedV1
 
setId(Id) - Method in class org.apache.zookeeper.data.ACL
 
setId(String) - Method in class org.apache.zookeeper.data.Id
 
setMtime(long) - Method in class org.apache.zookeeper.data.Stat
 
setMtime(long) - Method in class org.apache.zookeeper.data.StatPersisted
 
setMtime(long) - Method in class org.apache.zookeeper.data.StatPersistedV1
 
setMzxid(long) - Method in class org.apache.zookeeper.data.Stat
 
setMzxid(long) - Method in class org.apache.zookeeper.data.StatPersisted
 
setMzxid(long) - Method in class org.apache.zookeeper.data.StatPersistedV1
 
setNumChildren(int) - Method in class org.apache.zookeeper.data.Stat
 
setPerms(int) - Method in class org.apache.zookeeper.data.ACL
 
setPzxid(long) - Method in class org.apache.zookeeper.data.Stat
 
setPzxid(long) - Method in class org.apache.zookeeper.data.StatPersisted
 
setScheme(String) - Method in class org.apache.zookeeper.data.Id
 
setTraceMask(String, int, String) - Static method in class org.apache.zookeeper.ServerAdminClient
 
setVersion(int) - Method in class org.apache.zookeeper.data.Stat
 
setVersion(int) - Method in class org.apache.zookeeper.data.StatPersisted
 
setVersion(int) - Method in class org.apache.zookeeper.data.StatPersistedV1
 
setWatches - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
signature() - Static method in class org.apache.zookeeper.data.ACL
 
signature() - Static method in class org.apache.zookeeper.data.Id
 
signature() - Static method in class org.apache.zookeeper.data.Stat
 
signature() - Static method in class org.apache.zookeeper.data.StatPersisted
 
signature() - Static method in class org.apache.zookeeper.data.StatPersistedV1
 
SnapshotFormatter - Class in org.apache.zookeeper.server
Dump a snapshot file to stdout.
SnapshotFormatter() - Constructor for class org.apache.zookeeper.server.SnapshotFormatter
 
Stat - Class in org.apache.zookeeper.data
 
Stat() - Constructor for class org.apache.zookeeper.data.Stat
 
Stat(long, long, long, long, int, int, int, long, int, int, long) - Constructor for class org.apache.zookeeper.data.Stat
 
stat(String, int) - Static method in class org.apache.zookeeper.ServerAdminClient
 
StatPersisted - Class in org.apache.zookeeper.data
 
StatPersisted() - Constructor for class org.apache.zookeeper.data.StatPersisted
 
StatPersisted(long, long, long, long, int, int, int, long, long) - Constructor for class org.apache.zookeeper.data.StatPersisted
 
StatPersistedV1 - Class in org.apache.zookeeper.data
 
StatPersistedV1() - Constructor for class org.apache.zookeeper.data.StatPersistedV1
 
StatPersistedV1(long, long, long, long, int, int, int, long) - Constructor for class org.apache.zookeeper.data.StatPersistedV1
 
sync - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
 
sync(String, AsyncCallback.VoidCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
Asynchronous sync.
SystemError - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.SYSTEMERROR instead

T

toFlag() - Method in enum org.apache.zookeeper.CreateMode
 
toString() - Method in class org.apache.zookeeper.data.ACL
 
toString() - Method in class org.apache.zookeeper.data.Id
 
toString() - Method in class org.apache.zookeeper.data.Stat
 
toString() - Method in class org.apache.zookeeper.data.StatPersisted
 
toString() - Method in class org.apache.zookeeper.data.StatPersistedV1
 
toString() - Method in class org.apache.zookeeper.WatchedEvent
 
toString() - Method in class org.apache.zookeeper.ZooKeeper
String representation of this ZooKeeper client.
transaction() - Method in class org.apache.zookeeper.ZooKeeper
A Transaction is a thin wrapper on the ZooKeeper.multi(java.lang.Iterable) method which provides a builder object that can be used to construct and commit an atomic set of operations.

U

Unimplemented - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
Deprecated. deprecated in 3.1.0, use KeeperException.Code.UNIMPLEMENTED instead
UpgradeMain - Class in org.apache.zookeeper.server.upgrade
This class upgrades the older database to a new database for the zookeeper servers.
UpgradeMain(File, File) - Constructor for class org.apache.zookeeper.server.upgrade.UpgradeMain
upgrade class that takes the two file directories.

V

valueOf(String) - Static method in enum org.apache.zookeeper.CreateMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.zookeeper.KeeperException.Code
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.zookeeper.Watcher.Event.EventType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.zookeeper.Watcher.Event.KeeperState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.zookeeper.ZooKeeper.States
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.zookeeper.CreateMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.zookeeper.KeeperException.Code
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.zookeeper.Watcher.Event.EventType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.zookeeper.Watcher.Event.KeeperState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.zookeeper.ZooKeeper.States
Returns an array containing the constants of this enum type, in the order they are declared.

W

WatchedEvent - Class in org.apache.zookeeper
A WatchedEvent represents a change on the ZooKeeper that a Watcher is able to respond to.
WatchedEvent(Watcher.Event.EventType, Watcher.Event.KeeperState, String) - Constructor for class org.apache.zookeeper.WatchedEvent
Create a WatchedEvent with specified type, state and path
WatchedEvent(WatcherEvent) - Constructor for class org.apache.zookeeper.WatchedEvent
Convert a WatcherEvent sent over the wire into a full-fledged WatcherEvent
Watcher - Interface in org.apache.zookeeper
This interface specifies the public interface an event handler class must implement.
Watcher.Event - Interface in org.apache.zookeeper
This interface defines the possible states an Event may represent
Watcher.Event.EventType - Enum in org.apache.zookeeper
Enumeration of types of events that may occur on the ZooKeeper
Watcher.Event.KeeperState - Enum in org.apache.zookeeper
Enumeration of states the ZooKeeper may be at the event
write(DataOutput) - Method in class org.apache.zookeeper.data.ACL
 
write(DataOutput) - Method in class org.apache.zookeeper.data.Id
 
write(DataOutput) - Method in class org.apache.zookeeper.data.Stat
 
write(DataOutput) - Method in class org.apache.zookeeper.data.StatPersisted
 
write(DataOutput) - Method in class org.apache.zookeeper.data.StatPersistedV1
 
WRITE - Static variable in interface org.apache.zookeeper.ZooDefs.Perms
 

Z

ZooDefs - Class in org.apache.zookeeper
 
ZooDefs() - Constructor for class org.apache.zookeeper.ZooDefs
 
ZooDefs.Ids - Interface in org.apache.zookeeper
 
ZooDefs.OpCode - Interface in org.apache.zookeeper
 
ZooDefs.Perms - Interface in org.apache.zookeeper
 
ZooKeeper - Class in org.apache.zookeeper
This is the main class of ZooKeeper client library.
ZooKeeper(String, int, Watcher) - Constructor for class org.apache.zookeeper.ZooKeeper
To create a ZooKeeper client object, the application needs to pass a connection string containing a comma separated list of host:port pairs, each corresponding to a ZooKeeper server.
ZooKeeper(String, int, Watcher, boolean) - Constructor for class org.apache.zookeeper.ZooKeeper
To create a ZooKeeper client object, the application needs to pass a connection string containing a comma separated list of host:port pairs, each corresponding to a ZooKeeper server.
ZooKeeper(String, int, Watcher, long, byte[]) - Constructor for class org.apache.zookeeper.ZooKeeper
To create a ZooKeeper client object, the application needs to pass a connection string containing a comma separated list of host:port pairs, each corresponding to a ZooKeeper server.
ZooKeeper(String, int, Watcher, long, byte[], boolean) - Constructor for class org.apache.zookeeper.ZooKeeper
To create a ZooKeeper client object, the application needs to pass a connection string containing a comma separated list of host:port pairs, each corresponding to a ZooKeeper server.
ZooKeeper.States - Enum in org.apache.zookeeper
 
ZOOKEEPER_CLIENT_CNXN_SOCKET - Static variable in class org.apache.zookeeper.ZooKeeper
 
ZooKeeperMain - Class in org.apache.zookeeper
The command line client to ZooKeeper.
ZooKeeperMain(String[]) - Constructor for class org.apache.zookeeper.ZooKeeperMain
 
ZooKeeperMain(ZooKeeper) - Constructor for class org.apache.zookeeper.ZooKeeperMain
 
ZooKeeperServerMain - Class in org.apache.zookeeper.server
This class starts and runs a standalone ZooKeeperServer.
ZooKeeperServerMain() - Constructor for class org.apache.zookeeper.server.ZooKeeperServerMain
 

A B C D E F G H I K L M N O P Q R S T U V W Z

Copyright © 2012 The Apache Software Foundation