- calculateFileSizeWithPadding(long, long, long) - Static method in class org.apache.zookeeper.server.persistence.FilePadding
-
Calculates a new file size with padding.
- calculateTxnLogSizeLimit() - Method in class org.apache.zookeeper.server.ZKDatabase
-
- callbackHandler - Variable in class org.apache.zookeeper.Login
-
- canShutdown() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
This can be used while shutting down the server to see whether the server
is already shutdown or not.
- check(String, int) - Static method in class org.apache.zookeeper.Op
-
Constructs an version check operation.
- check(String, int) - Method in class org.apache.zookeeper.Transaction
-
- check - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
-
- checkAddressDuplicate(QuorumPeer.QuorumServer) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer.QuorumServer
-
- checkClientTrusted(X509Certificate[], String, Socket) - Method in class org.apache.zookeeper.common.ZKTrustManager
-
- checkClientTrusted(X509Certificate[], String, SSLEngine) - Method in class org.apache.zookeeper.common.ZKTrustManager
-
- checkClientTrusted(X509Certificate[], String) - Method in class org.apache.zookeeper.common.ZKTrustManager
-
- checkContainers() - Method in class org.apache.zookeeper.server.ContainerManager
-
Manually check the containers.
- checkGlobalSession(long, Object) - Method in class org.apache.zookeeper.server.quorum.LeaderSessionTracker
-
- checkGlobalSession(long, Object) - Method in class org.apache.zookeeper.server.quorum.UpgradeableSessionTracker
-
- checkGlobalSession(long, Object) - Method in interface org.apache.zookeeper.server.SessionTracker
-
Strictly check that a given session is a global session or not
- checkGlobalSession(long, Object) - Method in class org.apache.zookeeper.server.SessionTrackerImpl
-
- checkIfValidGlobalSession(long, int) - Method in class org.apache.zookeeper.server.quorum.LeaderZooKeeperServer
-
- checkLeader(Map<Long, Vote>, long, long) - Method in class org.apache.zookeeper.server.quorum.FastLeaderElection
-
In the case there is a leader elected, and a quorum supporting
this leader, we have to check if the leader has voted and acked
that it is leading.
- checkPasswd(long, byte[]) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- CheckResult() - Constructor for class org.apache.zookeeper.OpResult.CheckResult
-
- checkServerTrusted(X509Certificate[], String, Socket) - Method in class org.apache.zookeeper.common.ZKTrustManager
-
- checkServerTrusted(X509Certificate[], String, SSLEngine) - Method in class org.apache.zookeeper.common.ZKTrustManager
-
- checkServerTrusted(X509Certificate[], String) - Method in class org.apache.zookeeper.common.ZKTrustManager
-
- checkSession(long, Object) - Method in class org.apache.zookeeper.server.quorum.LeaderSessionTracker
-
- checkSession(long, Object) - Method in class org.apache.zookeeper.server.quorum.LearnerSessionTracker
-
- checkSession(long, Object) - Method in interface org.apache.zookeeper.server.SessionTracker
-
Checks whether the SessionTracker is aware of this session, the session
is still active, and the owner matches.
- checkSession(long, Object) - Method in class org.apache.zookeeper.server.SessionTrackerImpl
-
- checkUpgradeSession(Request) - Method in class org.apache.zookeeper.server.quorum.QuorumZooKeeperServer
-
- checkValidity() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- checkWatches - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
-
- cl - Variable in class org.apache.zookeeper.ZooKeeperMain
-
- cleanup(Logger, Closeable...) - Static method in class org.apache.zookeeper.common.IOUtils
-
Close the Closeable objects and
ignore any
IOException
or
null pointers.
- cleanup() - Method in class org.apache.zookeeper.server.WorkerService.WorkRequest
-
(Optional) If implemented, is called if the service is stopped
or unable to schedule the request.
- cleanupWriterSocket(PrintWriter) - Method in class org.apache.zookeeper.server.ServerCnxn
-
clean up the socket related to a command and also make sure we flush the
data before we do that
- clear() - Method in class org.apache.zookeeper.common.PathTrie
-
clear all nodes
- clear() - Method in class org.apache.zookeeper.server.ZKDatabase
-
clear the zkdatabase.
- CliCommand - Class in org.apache.zookeeper.cli
-
base class for all CLI commands
- CliCommand(String, String) - Constructor for class org.apache.zookeeper.cli.CliCommand
-
a CLI command with command string and options.
- CLIENT_DATA_PACKET_TRACE_MASK - Static variable in class org.apache.zookeeper.server.ZooTrace
-
- CLIENT_MAX_PACKET_LENGTH_DEFAULT - Static variable in class org.apache.zookeeper.client.ZKClientConfig
-
- CLIENT_PING_TRACE_MASK - Static variable in class org.apache.zookeeper.server.ZooTrace
-
- CLIENT_REQUEST_TRACE_MASK - Static variable in class org.apache.zookeeper.server.ZooTrace
-
- clientAddr - Variable in class org.apache.zookeeper.server.quorum.QuorumPeer.AddressTuple
-
- clientAddr - Variable in class org.apache.zookeeper.server.quorum.QuorumPeer.QuorumServer
-
- ClientCnxn - Class in org.apache.zookeeper
-
This class manages the socket i/o for the client.
- ClientCnxn(String, HostProvider, int, ZooKeeper, ClientWatchManager, ClientCnxnSocket, boolean) - Constructor for class org.apache.zookeeper.ClientCnxn
-
Creates a connection object.
- ClientCnxn(String, HostProvider, int, ZooKeeper, ClientWatchManager, ClientCnxnSocket, long, byte[], boolean) - Constructor for class org.apache.zookeeper.ClientCnxn
-
Creates a connection object.
- ClientCnxnSocketNetty - Class in org.apache.zookeeper
-
ClientCnxnSocketNetty implements ClientCnxnSocket abstract methods.
- ClientCnxnSocketNIO - Class in org.apache.zookeeper
-
- clientId - Variable in class org.apache.zookeeper.server.DataTree.ProcessTxnResult
-
- clientPortAddress - Variable in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- clientPortAddress - Variable in class org.apache.zookeeper.server.ServerConfig
-
- clientTunneledAuthenticationInProgress() - Method in class org.apache.zookeeper.client.ZooKeeperSaslClient
-
- ClientWatchManager - Interface in org.apache.zookeeper
-
- ClientX509Util - Class in org.apache.zookeeper.common
-
- ClientX509Util() - Constructor for class org.apache.zookeeper.common.ClientX509Util
-
- CliException - Exception in org.apache.zookeeper.cli
-
- CliException(String) - Constructor for exception org.apache.zookeeper.cli.CliException
-
- CliException(String, int) - Constructor for exception org.apache.zookeeper.cli.CliException
-
- CliException(Throwable) - Constructor for exception org.apache.zookeeper.cli.CliException
-
- CliException(Throwable, int) - Constructor for exception org.apache.zookeeper.cli.CliException
-
- CliException(String, Throwable) - Constructor for exception org.apache.zookeeper.cli.CliException
-
- CliException(String, Throwable, int) - Constructor for exception org.apache.zookeeper.cli.CliException
-
- CliParseException - Exception in org.apache.zookeeper.cli
-
- CliParseException(ParseException) - Constructor for exception org.apache.zookeeper.cli.CliParseException
-
- CliParseException(String) - Constructor for exception org.apache.zookeeper.cli.CliParseException
-
- CliWrapperException - Exception in org.apache.zookeeper.cli
-
- CliWrapperException(Throwable) - Constructor for exception org.apache.zookeeper.cli.CliWrapperException
-
- close() - Method in class org.apache.zookeeper.ClientCnxn
-
Close the connection, which includes; send session disconnect to the
server, shutdown the send/event threads.
- close() - Method in class org.apache.zookeeper.common.AtomicFileOutputStream
-
- close() - Method in class org.apache.zookeeper.common.X509Util
-
Disables automatic reloading of the trust store and key store files when they change on disk.
- close() - Method in class org.apache.zookeeper.server.NettyServerCnxn
-
- close() - Method in class org.apache.zookeeper.server.NIOServerCnxn
-
Close the cnxn and remove it from the factory cnxns list.
- close() - Method in class org.apache.zookeeper.server.persistence.FileSnap
-
synchronized close just so that if serialize is in place
the close operation will block and will wait till serialize
is done and will set the close flag
- close() - Method in class org.apache.zookeeper.server.persistence.FileTxnLog
-
close all the open file handles
- close() - Method in class org.apache.zookeeper.server.persistence.FileTxnLog.FileTxnIterator
-
close the iterator
and release the resources.
- close() - Method in class org.apache.zookeeper.server.persistence.FileTxnSnapLog
-
close the transaction log files
- close() - Method in interface org.apache.zookeeper.server.persistence.SnapShot
-
free resources from this snapshot immediately
- close() - Method in interface org.apache.zookeeper.server.persistence.TxnLog
-
close the transactions logs
- close() - Method in interface org.apache.zookeeper.server.persistence.TxnLog.TxnIterator
-
close files and release the
resources
- close() - Method in class org.apache.zookeeper.server.persistence.TxnLogToolkit
-
- close() - Method in class org.apache.zookeeper.server.quorum.LearnerSnapshot
-
- close() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- close() - Method in class org.apache.zookeeper.server.TxnLogProposalIterator
-
Close the files and release the resources which are used for iterating
transaction records
- close() - Method in class org.apache.zookeeper.server.ZKDatabase
-
close this database.
- close() - Method in class org.apache.zookeeper.ZooKeeper
-
Close this client object.
- close(int) - Method in class org.apache.zookeeper.ZooKeeper
-
- closeAll() - Method in class org.apache.zookeeper.server.NettyServerCnxnFactory
-
- closeAll() - Method in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
clear all the connections in the selector
- closeAll() - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- closeAllConnections() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- CloseCommand - Class in org.apache.zookeeper.cli
-
close command for cli
- CloseCommand() - Constructor for class org.apache.zookeeper.cli.CloseCommand
-
- CloseRequestException(String) - Constructor for exception org.apache.zookeeper.server.ServerCnxn.CloseRequestException
-
- closeSession(long) - Method in class org.apache.zookeeper.server.NettyServerCnxnFactory
-
- closeSession(long) - Method in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
- closeSession(long) - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- closeSession(long) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- closeSession(ServerCnxn, RequestHeader) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- closeSession - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
-
- closeSock(SocketChannel) - Static method in class org.apache.zookeeper.server.NIOServerCnxn
-
Close resources associated with a sock.
- closeStream(Closeable) - Static method in class org.apache.zookeeper.common.IOUtils
-
- cnxn - Variable in class org.apache.zookeeper.server.Request
-
- cnxn - Variable in class org.apache.zookeeper.ZooKeeper
-
- cnxns - Variable in class org.apache.zookeeper.server.ServerCnxnFactory
-
- CnxnStatResetCommand() - Constructor for class org.apache.zookeeper.server.admin.Commands.CnxnStatResetCommand
-
- CnxnStatResetCommand - Class in org.apache.zookeeper.server.command
-
- CnxnStatResetCommand(PrintWriter, ServerCnxn) - Constructor for class org.apache.zookeeper.server.command.CnxnStatResetCommand
-
- code() - Method in exception org.apache.zookeeper.KeeperException
-
Read the error Code for this exception
- Command - Interface in org.apache.zookeeper.server.admin
-
Interface implemented by all commands runnable by JettyAdminServer.
- CommandBase - Class in org.apache.zookeeper.server.admin
-
- CommandBase(List<String>) - Constructor for class org.apache.zookeeper.server.admin.CommandBase
-
- CommandBase(List<String>, String) - Constructor for class org.apache.zookeeper.server.admin.CommandBase
-
- commandCount - Variable in class org.apache.zookeeper.ZooKeeperMain
-
- CommandExecutor - Class in org.apache.zookeeper.server.command
-
- CommandExecutor() - Constructor for class org.apache.zookeeper.server.command.CommandExecutor
-
- CommandNotFoundException - Exception in org.apache.zookeeper.cli
-
- CommandNotFoundException(String) - Constructor for exception org.apache.zookeeper.cli.CommandNotFoundException
-
- CommandOutputter - Interface in org.apache.zookeeper.server.admin
-
CommandOutputters are used to format the responses from Commands.
- CommandResponse - Class in org.apache.zookeeper.server.admin
-
- CommandResponse(String) - Constructor for class org.apache.zookeeper.server.admin.CommandResponse
-
Creates a new response with no error string.
- CommandResponse(String, String) - Constructor for class org.apache.zookeeper.server.admin.CommandResponse
-
Creates a new response.
- commandRun() - Method in class org.apache.zookeeper.server.command.AbstractFourLetterCommand
-
- commandRun() - Method in class org.apache.zookeeper.server.command.CnxnStatResetCommand
-
- commandRun() - Method in class org.apache.zookeeper.server.command.ConfCommand
-
- commandRun() - Method in class org.apache.zookeeper.server.command.ConsCommand
-
- commandRun() - Method in class org.apache.zookeeper.server.command.DirsCommand
-
- commandRun() - Method in class org.apache.zookeeper.server.command.DumpCommand
-
- commandRun() - Method in class org.apache.zookeeper.server.command.EnvCommand
-
- commandRun() - Method in class org.apache.zookeeper.server.command.IsroCommand
-
- commandRun() - Method in class org.apache.zookeeper.server.command.MonitorCommand
-
- commandRun() - Method in class org.apache.zookeeper.server.command.NopCommand
-
- commandRun() - Method in class org.apache.zookeeper.server.command.RuokCommand
-
- commandRun() - Method in class org.apache.zookeeper.server.command.SetTraceMaskCommand
-
- commandRun() - Method in class org.apache.zookeeper.server.command.StatCommand
-
- commandRun() - Method in class org.apache.zookeeper.server.command.StatResetCommand
-
- commandRun() - Method in class org.apache.zookeeper.server.command.TraceMaskCommand
-
- commandRun() - Method in class org.apache.zookeeper.server.command.WatchCommand
-
- Commands - Class in org.apache.zookeeper.server.admin
-
Class containing static methods for registering and running Commands, as well
as default Command definitions.
- Commands.CnxnStatResetCommand - Class in org.apache.zookeeper.server.admin
-
Reset all connection statistics.
- Commands.ConfCommand - Class in org.apache.zookeeper.server.admin
-
Server configuration parameters.
- Commands.ConsCommand - Class in org.apache.zookeeper.server.admin
-
Information on client connections to server.
- Commands.DirsCommand - Class in org.apache.zookeeper.server.admin
-
Information on ZK datadir and snapdir size in bytes
- Commands.DumpCommand - Class in org.apache.zookeeper.server.admin
-
Information on session expirations and ephemerals.
- Commands.EnvCommand - Class in org.apache.zookeeper.server.admin
-
All defined environment variables.
- Commands.GetTraceMaskCommand - Class in org.apache.zookeeper.server.admin
-
The current trace mask.
- Commands.IsroCommand - Class in org.apache.zookeeper.server.admin
-
Is this server in read-only mode.
- Commands.MonitorCommand - Class in org.apache.zookeeper.server.admin
-
Some useful info for monitoring.
- Commands.RuokCommand - Class in org.apache.zookeeper.server.admin
-
No-op command, check if the server is running
- Commands.SetTraceMaskCommand - Class in org.apache.zookeeper.server.admin
-
Sets the trace mask.
- Commands.SrvrCommand - Class in org.apache.zookeeper.server.admin
-
Server information.
- Commands.StatCommand - Class in org.apache.zookeeper.server.admin
-
Same as SrvrCommand but has extra "connections" entry.
- Commands.StatResetCommand - Class in org.apache.zookeeper.server.admin
-
Resets server statistics.
- Commands.WatchCommand - Class in org.apache.zookeeper.server.admin
-
Watch information aggregated by session.
- Commands.WatchesByPathCommand - Class in org.apache.zookeeper.server.admin
-
Watch information aggregated by path.
- Commands.WatchSummaryCommand - Class in org.apache.zookeeper.server.admin
-
Summarized watch information.
- commit() - Method in class org.apache.zookeeper.server.auth.DigestLoginModule
-
- commit() - Method in class org.apache.zookeeper.server.persistence.FileTxnLog
-
commit the logs.
- commit() - Method in class org.apache.zookeeper.server.persistence.FileTxnSnapLog
-
commit the transaction of logs
- commit() - Method in interface org.apache.zookeeper.server.persistence.TxnLog
-
commit the transaction and make sure
they are persisted
- commit(Request) - Method in class org.apache.zookeeper.server.quorum.CommitProcessor
-
- commit(long) - Method in class org.apache.zookeeper.server.quorum.FollowerZooKeeperServer
-
When a COMMIT message is received, eventually this method is called,
which matches up the zxid from the COMMIT with (hopefully) the head of
the pendingTxns queue and hands it to the commitProcessor to commit.
- commit(long) - Method in class org.apache.zookeeper.server.quorum.Leader
-
Create a commit packet and send it to all the members of the quorum
- commit() - Method in class org.apache.zookeeper.server.ZKDatabase
-
commit to the underlying transaction log
- commit() - Method in class org.apache.zookeeper.Transaction
-
- commit(AsyncCallback.MultiCallback, Object) - Method in class org.apache.zookeeper.Transaction
-
- commitAndActivate(long, long) - Method in class org.apache.zookeeper.server.quorum.Leader
-
- commitLogBuffer - Static variable in class org.apache.zookeeper.server.ZKDatabase
-
- commitLogCount - Static variable in class org.apache.zookeeper.server.ZKDatabase
-
- CommitProcessor - Class in org.apache.zookeeper.server.quorum
-
This RequestProcessor matches the incoming committed requests with the
locally submitted requests.
- CommitProcessor(RequestProcessor, String, boolean, ZooKeeperServerListener) - Constructor for class org.apache.zookeeper.server.quorum.CommitProcessor
-
- commitProcessor - Variable in class org.apache.zookeeper.server.quorum.LearnerZooKeeperServer
-
- commitRequest(Request) - Method in class org.apache.zookeeper.server.quorum.ObserverZooKeeperServer
-
Unlike a Follower, which sees a full request only during the PROPOSAL
phase, Observers get all the data required with the INFORM packet.
- committedLog - Variable in class org.apache.zookeeper.server.ZKDatabase
-
- committedRequests - Variable in class org.apache.zookeeper.server.quorum.CommitProcessor
-
Requests that have been committed.
- CommonNames - Class in org.apache.zookeeper.jmx
-
A bunch of constants.
- CommonNames() - Constructor for class org.apache.zookeeper.jmx.CommonNames
-
- confCmd - Static variable in class org.apache.zookeeper.server.command.FourLetterCommands
-
- ConfCommand() - Constructor for class org.apache.zookeeper.server.admin.Commands.ConfCommand
-
- ConfCommand - Class in org.apache.zookeeper.server.command
-
- CONFIG_NODE - Static variable in class org.apache.zookeeper.ZooDefs
-
- ConfigException(String) - Constructor for exception org.apache.zookeeper.server.quorum.QuorumPeerConfig.ConfigException
-
- ConfigException(String, Exception) - Constructor for exception org.apache.zookeeper.server.quorum.QuorumPeerConfig.ConfigException
-
- configFileStr - Variable in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- configFromString(String) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- configure(InetSocketAddress, int, boolean) - Method in class org.apache.zookeeper.server.NettyServerCnxnFactory
-
- configure(InetSocketAddress, int, boolean) - Method in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
- configure(InetSocketAddress, int) - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- configure(InetSocketAddress, int, boolean) - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- configureSaslLogin() - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
Initialize the server SASL if specified.
- ConfigUtils - Class in org.apache.zookeeper.server.util
-
- ConfigUtils() - Constructor for class org.apache.zookeeper.server.util.ConfigUtils
-
- connect(SocketAddress) - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- connect(SocketAddress, int) - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- connectAll() - Method in class org.apache.zookeeper.server.quorum.QuorumCnxManager
-
Try to establish a connection with each server if one
doesn't exist.
- connectedToPeer(long) - Method in class org.apache.zookeeper.server.quorum.QuorumCnxManager
-
- connectingFollowers - Variable in class org.apache.zookeeper.server.quorum.Leader
-
- ConnectionBean - Class in org.apache.zookeeper.server
-
Implementation of connection MBean interface.
- ConnectionBean(ServerCnxn, ZooKeeperServer) - Constructor for class org.apache.zookeeper.server.ConnectionBean
-
- ConnectionLoss - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
-
- ConnectionLossException() - Constructor for exception org.apache.zookeeper.KeeperException.ConnectionLossException
-
- ConnectionMXBean - Interface in org.apache.zookeeper.server
-
This MBean represents a client connection.
- ConnectStringParser - Class in org.apache.zookeeper.client
-
A parser for ZooKeeper Client connect strings.
- ConnectStringParser(String) - Constructor for class org.apache.zookeeper.client.ConnectStringParser
-
- connectToLeader(InetSocketAddress, String) - Method in class org.apache.zookeeper.server.quorum.Learner
-
Establish a connection with the Leader found by findLeader.
- connectToZK(String) - Method in class org.apache.zookeeper.ZooKeeperMain
-
- consCmd - Static variable in class org.apache.zookeeper.server.command.FourLetterCommands
-
- ConsCommand() - Constructor for class org.apache.zookeeper.server.admin.Commands.ConsCommand
-
- ConsCommand - Class in org.apache.zookeeper.server.command
-
- ConsCommand(PrintWriter, ServerCnxn) - Constructor for class org.apache.zookeeper.server.command.ConsCommand
-
- CONTAINER_EPHEMERAL_OWNER - Static variable in enum org.apache.zookeeper.server.EphemeralType
-
- CONTAINER_EPHEMERAL_OWNER - Static variable in enum org.apache.zookeeper.server.EphemeralTypeEmulate353
-
- ContainerManager - Class in org.apache.zookeeper.server
-
Manages cleanup of container ZNodes.
- ContainerManager(ZKDatabase, RequestProcessor, int, int) - Constructor for class org.apache.zookeeper.server.ContainerManager
-
- containsQuorum(Set<Long>) - Method in class org.apache.zookeeper.server.quorum.flexible.QuorumHierarchical
-
Verifies if a given set is a quorum.
- containsQuorum(Set<Long>) - Method in class org.apache.zookeeper.server.quorum.flexible.QuorumMaj
-
Verifies if a set is a majority.
- containsQuorum(Set<Long>) - Method in interface org.apache.zookeeper.server.quorum.flexible.QuorumVerifier
-
- containsWatcher(String, Watcher.WatcherType, Watcher) - Method in class org.apache.zookeeper.server.DataTree
-
- containsWatcher(String, Watcher.WatcherType, Watcher) - Method in class org.apache.zookeeper.server.ZKDatabase
-
Check whether the given watcher exists in datatree
- convertAcls(List<ACL>) - Method in class org.apache.zookeeper.server.ReferenceCountedACLCache
-
converts the list of acls to a long.
- convertLong(Long) - Method in class org.apache.zookeeper.server.ReferenceCountedACLCache
-
converts a long to a list of acls.
- copyBytes(InputStream, OutputStream, int, boolean) - Static method in class org.apache.zookeeper.common.IOUtils
-
Copies from one stream to another.
- copyBytes(InputStream, OutputStream, int) - Static method in class org.apache.zookeeper.common.IOUtils
-
Copies from one stream to another.
- copyStat(Stat) - Method in class org.apache.zookeeper.server.DataNode
-
- copyStat(Stat, Stat) - Static method in class org.apache.zookeeper.server.DataTree
-
- copyStatPersisted(StatPersisted, StatPersisted) - Static method in class org.apache.zookeeper.server.DataTree
-
- count - Variable in class org.apache.zookeeper.server.quorum.LeaderElection.ElectionResult
-
Deprecated.
- count - Variable in class org.apache.zookeeper.server.ServerCnxn
-
- countEphemerals() - Method in class org.apache.zookeeper.server.DataTreeBean
-
- countEphemerals() - Method in interface org.apache.zookeeper.server.DataTreeMXBean
-
- countParticipants(Map<Long, QuorumPeer.QuorumServer>) - Static method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Count the number of nodes in the map that could be followers.
- countVotes(HashMap<InetSocketAddress, Vote>, HashSet<Long>) - Method in class org.apache.zookeeper.server.quorum.LeaderElection
-
Deprecated.
- 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
-
- create(int) - Static method in exception org.apache.zookeeper.KeeperException
-
- 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(String, byte[], List<ACL>, int) - Static method in class org.apache.zookeeper.Op
-
Constructs a create operation.
- create(String, byte[], List<ACL>, int, long) - Static method in class org.apache.zookeeper.Op
-
Constructs a create operation.
- create(String, byte[], List<ACL>, CreateMode) - Static method in class org.apache.zookeeper.Op
-
Constructs a create operation.
- create(String, byte[], List<ACL>, CreateMode, long) - Static method in class org.apache.zookeeper.Op
-
Constructs a create operation.
- create(String) - Method in class org.apache.zookeeper.server.util.VerifyingFileFactory
-
- create(String, byte[], List<ACL>, CreateMode) - Method in class org.apache.zookeeper.Transaction
-
- 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, Stat) - Method in class org.apache.zookeeper.ZooKeeper
-
Create a node with the given path and returns the Stat of that node.
- create(String, byte[], List<ACL>, CreateMode, Stat, long) - Method in class org.apache.zookeeper.ZooKeeper
-
- create(String, byte[], List<ACL>, CreateMode, AsyncCallback.StringCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
-
The asynchronous version of create.
- create(String, byte[], List<ACL>, CreateMode, AsyncCallback.Create2Callback, Object) - Method in class org.apache.zookeeper.ZooKeeper
-
The asynchronous version of create.
- create(String, byte[], List<ACL>, CreateMode, AsyncCallback.Create2Callback, Object, long) - Method in class org.apache.zookeeper.ZooKeeper
-
The asynchronous version of create with ttl.
- create2 - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
-
- createAdminServer() - Static method in class org.apache.zookeeper.server.admin.AdminServerFactory
-
This method encapsulates the logic for whether we should use a
JettyAdminServer (i.e., the AdminServer is enabled) or a DummyAdminServer
(i.e., the AdminServer is disabled).
- createCnxnManager() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- CreateCommand - Class in org.apache.zookeeper.cli
-
create command for cli
- CreateCommand() - Constructor for class org.apache.zookeeper.cli.CreateCommand
-
- createConnection(SocketChannel, SelectionKey, NIOServerCnxnFactory.SelectorThread) - Method in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
- createConnection(String, HostProvider, int, ZooKeeper, ClientWatchManager, ClientCnxnSocket, boolean) - Method in class org.apache.zookeeper.ZooKeeper
-
- createContainer - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
-
- createDataTree() - Method in class org.apache.zookeeper.server.ZKDatabase
-
- createElectionAlgorithm(int) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- createFactory() - Static method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- createFactory(int, int) - Static method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- createFactory(InetSocketAddress, int) - Static method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- createInputArchive(File) - Method in class org.apache.zookeeper.server.persistence.FileTxnLog.FileTxnIterator
-
Invoked to indicate that the input stream has been created.
- createKeyManager(String, String, String) - Static method in class org.apache.zookeeper.common.X509Util
-
Creates a key manager by loading the key store from the given file of
the given type, optionally decrypting it using the given password.
- createLearnerSnapshotThrottler(int, long) - Method in class org.apache.zookeeper.server.quorum.Leader
-
- createLocalSessionTracker(SessionTracker.SessionExpirer, int, long, ZooKeeperServerListener) - Method in class org.apache.zookeeper.server.quorum.UpgradeableSessionTracker
-
- CreateMode - Enum in org.apache.zookeeper
-
CreateMode value determines how the znode is created on ZooKeeper.
- createNode(String, byte[], List<ACL>, long, int, long, long) - Method in class org.apache.zookeeper.server.DataTree
-
Add a new node to the DataTree.
- createNode(String, byte[], List<ACL>, long, int, long, long, Stat) - Method in class org.apache.zookeeper.server.DataTree
-
Add a new node to the DataTree.
- createPacket(QuorumAuth.Status, byte[]) - Static method in class org.apache.zookeeper.server.quorum.auth.QuorumAuth
-
- createQuota(ZooKeeper, String, long, int) - Static method in class org.apache.zookeeper.cli.SetQuotaCommand
-
- createQuota(ZooKeeper, String, long, int) - Static method in class org.apache.zookeeper.ZooKeeperMain
-
this method creates a quota node for the path
- CreateResult(String) - Constructor for class org.apache.zookeeper.OpResult.CreateResult
-
- CreateResult(String, Stat) - Constructor for class org.apache.zookeeper.OpResult.CreateResult
-
- createSaslClient(Subject, String, String, String, Logger, String) - Static method in class org.apache.zookeeper.util.SecurityUtils
-
Create an instance of a SaslClient.
- createSaslServer(Subject, String, String, CallbackHandler, Logger) - Static method in class org.apache.zookeeper.util.SecurityUtils
-
Create an instance of a SaslServer.
- createSession(int) - Method in class org.apache.zookeeper.server.quorum.LeaderSessionTracker
-
- createSession(int) - Method in class org.apache.zookeeper.server.quorum.LearnerSessionTracker
-
- createSession(int) - Method in interface org.apache.zookeeper.server.SessionTracker
-
- createSession(int) - Method in class org.apache.zookeeper.server.SessionTrackerImpl
-
- createSession - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
-
- createSessionTracker() - Method in class org.apache.zookeeper.server.quorum.LeaderZooKeeperServer
-
- createSessionTracker() - Method in class org.apache.zookeeper.server.quorum.LearnerZooKeeperServer
-
- createSessionTracker() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- createSSLContext(ZKConfig) - Method in class org.apache.zookeeper.common.X509Util
-
- createSSLContextAndOptions(ZKConfig) - Method in class org.apache.zookeeper.common.X509Util
-
- createSSLServerSocket() - Method in class org.apache.zookeeper.common.SSLContextAndOptions
-
- createSSLServerSocket(int) - Method in class org.apache.zookeeper.common.SSLContextAndOptions
-
- createSSLServerSocket() - Method in class org.apache.zookeeper.common.X509Util
-
- createSSLServerSocket(int) - Method in class org.apache.zookeeper.common.X509Util
-
- createSSLSocket() - Method in class org.apache.zookeeper.common.SSLContextAndOptions
-
- createSSLSocket(Socket, byte[]) - Method in class org.apache.zookeeper.common.SSLContextAndOptions
-
- createSSLSocket() - Method in class org.apache.zookeeper.common.X509Util
-
- createSSLSocket(Socket, byte[]) - Method in class org.apache.zookeeper.common.X509Util
-
- createTime - Variable in class org.apache.zookeeper.server.Request
-
- createTrustManager(String, String, String, boolean, boolean, boolean, boolean) - Static method in class org.apache.zookeeper.common.X509Util
-
Creates a trust manager by loading the trust store from the given file
of the given type, optionally decrypting it using the given password.
- createTTL - 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.
- crstCmd - Static variable in class org.apache.zookeeper.server.command.FourLetterCommands
-
- CURRENT_EPOCH_FILENAME - Static variable in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- currentElapsedTime() - Static method in class org.apache.zookeeper.common.Time
-
Returns time in milliseconds as does System.currentTimeMillis(),
but uses elapsed time from an arbitrary epoch more like System.nanoTime().
- CURRENTVERSION - Static variable in class org.apache.zookeeper.server.quorum.FastLeaderElection.Notification
-
- currentWallTime() - Static method in class org.apache.zookeeper.common.Time
-
Explicitly returns system dependent current wall time.
- cxid - Variable in class org.apache.zookeeper.server.DataTree.ProcessTxnResult
-
- cxid - Variable in class org.apache.zookeeper.server.Request
-
- generateDigest(String) - Static method in class org.apache.zookeeper.server.auth.DigestAuthenticationProvider
-
- generateFile(File, VerGen.Version, String, String) - Static method in class org.apache.zookeeper.version.util.VerGen
-
- get(int) - Static method in enum org.apache.zookeeper.KeeperException.Code
-
Get the Code value for a particular integer error code
- get(long) - Static method in enum org.apache.zookeeper.server.EphemeralType
-
Convert a ZNode ephemeral owner to an ephemeral type.
- get(long) - Static method in enum org.apache.zookeeper.server.EphemeralTypeEmulate353
-
- getAcceptedEpoch() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- getAcceptedIssuers() - Method in class org.apache.zookeeper.common.ZKTrustManager
-
- getAckset() - Method in class org.apache.zookeeper.server.quorum.SyncedLearnerTracker.QuorumVerifierAcksetPair
-
- getACL(String, Stat) - Method in class org.apache.zookeeper.server.DataTree
-
- getACL(DataNode) - Method in class org.apache.zookeeper.server.DataTree
-
- getACL(String, Stat) - Method in class org.apache.zookeeper.server.ZKDatabase
-
get acl for a path
- 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.
- GetAclCommand - Class in org.apache.zookeeper.cli
-
getAcl command for cli
- GetAclCommand() - Constructor for class org.apache.zookeeper.cli.GetAclCommand
-
- getAclSize() - Method in class org.apache.zookeeper.server.ZKDatabase
-
get the acl size of the datatree
- getActiveServer() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- getAllByName(String) - Method in interface org.apache.zookeeper.client.StaticHostProvider.Resolver
-
- getAllConnectionInfo(boolean) - Method in class org.apache.zookeeper.server.NettyServerCnxnFactory
-
- getAllConnectionInfo(boolean) - Method in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
- getAllConnectionInfo(boolean) - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- getAllMembers() - Method in class org.apache.zookeeper.server.quorum.flexible.QuorumHierarchical
-
- getAllMembers() - Method in class org.apache.zookeeper.server.quorum.flexible.QuorumMaj
-
- getAllMembers() - Method in interface org.apache.zookeeper.server.quorum.flexible.QuorumVerifier
-
- getApproximateDataSize() - Method in class org.apache.zookeeper.server.DataNode
-
- getAuthInfo() - Method in class org.apache.zookeeper.server.ServerCnxn
-
auth info for the cnxn, returns an unmodifyable list
- getAuthorizationID() - Method in class org.apache.zookeeper.server.ZooKeeperSaslServer
-
- getAvgLatency() - Method in class org.apache.zookeeper.server.ConnectionBean
-
- getAvgLatency() - Method in interface org.apache.zookeeper.server.ConnectionMXBean
-
Average latency in ms
- getAvgLatency() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- getAvgLatency() - Method in class org.apache.zookeeper.server.ServerStats
-
- getAvgRequestLatency() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getAvgRequestLatency() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getBoolean(String) - Method in class org.apache.zookeeper.common.ZKConfig
-
Returns true
if and only if the property named by the argument
exists and is equal to the string "true"
.
- getBoolean(String, boolean) - Method in class org.apache.zookeeper.common.ZKConfig
-
Get the value of the key
property as a boolean
.
- getBuildDate() - Static method in class org.apache.zookeeper.Version
-
- getBytes() - Method in class org.apache.zookeeper.StatsTrack
-
get the count of bytes allowed as part of quota
- getCandidates() - Method in class org.apache.zookeeper.server.ContainerManager
-
- getChannel() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- getChildren() - Method in class org.apache.zookeeper.server.DataNode
-
convenience methods to get the children
- getChildren(String, Stat, Watcher) - Method in class org.apache.zookeeper.server.DataTree
-
- getChildren(String, Stat, Watcher) - Method in class org.apache.zookeeper.server.ZKDatabase
-
get children list for this path
- 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
-
- getChildWatches() - Method in class org.apache.zookeeper.ZooKeeper
-
- getChrootPath() - Method in class org.apache.zookeeper.client.ConnectStringParser
-
- getCipherSuitesProperty() - Method in class org.apache.zookeeper.common.X509Util
-
- getClientAddress() - Method in class org.apache.zookeeper.server.quorum.LocalPeerBean
-
- getClientAddress() - Method in interface org.apache.zookeeper.server.quorum.LocalPeerMXBean
-
- getClientAddress() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- getClientAddress() - Method in class org.apache.zookeeper.server.quorum.RemotePeerBean
-
- getClientAddress() - Method in interface org.apache.zookeeper.server.quorum.RemotePeerMXBean
-
- getClientCertificateChain() - Method in class org.apache.zookeeper.server.NettyServerCnxn
-
- getClientCertificateChain() - Method in class org.apache.zookeeper.server.NIOServerCnxn
-
- getClientCertificateChain() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- getClientConfig() - Method in class org.apache.zookeeper.ZooKeeper
-
- getClientConfigStr(String) - Static method in class org.apache.zookeeper.server.util.ConfigUtils
-
- getClientId(X509Certificate) - Method in class org.apache.zookeeper.server.auth.X509AuthenticationProvider
-
Determine the string to be used as the remote host session Id for
authorization purposes.
- getClientPath() - Method in class org.apache.zookeeper.WatchDeregistration
-
Returns client path which has specified for unregistering its watcher
- getClientPort() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- getClientPort() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getClientPort() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getClientPort() - Method in class org.apache.zookeeper.server.ZooKeeperServerConf
-
Gets the client port.
- getClientPort() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getClientPortAddress() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getClientPortAddress() - Method in class org.apache.zookeeper.server.ServerConfig
-
- getClientReachableLocalInetAddressCount() - Static method in class org.apache.zookeeper.common.NettyUtils
-
Attempts to detect and return the number of local network addresses that could be
used by a client to reach this server.
- getClientResponseStats() - Method in class org.apache.zookeeper.server.ServerStats
-
- getCmdStr() - Method in class org.apache.zookeeper.cli.CliCommand
-
get the string used to call this command
- getCnxManager() - Method in class org.apache.zookeeper.server.quorum.FastLeaderElection
-
- getCode() - Method in exception org.apache.zookeeper.KeeperException
-
- GetCommand - Class in org.apache.zookeeper.cli
-
get command for cli
- GetCommand() - Constructor for class org.apache.zookeeper.cli.GetCommand
-
- getCommand() - Method in class org.apache.zookeeper.server.admin.CommandResponse
-
Gets the command name.
- getCommand(String) - Static method in class org.apache.zookeeper.server.admin.Commands
-
Returns the commands registered under cmdName with registerCommand, or
null if no command is registered with that name.
- getCommands() - Static method in class org.apache.zookeeper.ZooKeeperMain
-
- getCommandString(int) - Static method in class org.apache.zookeeper.server.command.FourLetterCommands
-
Return the string representation of the specified command code.
- getCommittedLog() - Method in class org.apache.zookeeper.server.ZKDatabase
-
- getConcurrentSnapshotNumber() - Method in class org.apache.zookeeper.server.quorum.LearnerSnapshot
-
- getConf() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getConfig(Watcher, Stat) - Method in class org.apache.zookeeper.ZooKeeper
-
Return the last committed configuration (as known to the server to which the client is connected)
and the stat of the configuration.
- getConfig(Watcher, AsyncCallback.DataCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
-
The asynchronous version of getConfig.
- getConfig(boolean, Stat) - Method in class org.apache.zookeeper.ZooKeeper
-
Return the last committed configuration (as known to the server to which the client is connected)
and the stat of the configuration.
- getConfig(boolean, AsyncCallback.DataCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
-
The Asynchronous version of getConfig.
- GetConfigCommand - Class in org.apache.zookeeper.cli
-
get command for cli
- GetConfigCommand() - Constructor for class org.apache.zookeeper.cli.GetConfigCommand
-
- getConfigFilename() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getConfigPrefix() - Method in class org.apache.zookeeper.common.ClientX509Util
-
- getConfigPrefix() - Method in class org.apache.zookeeper.common.QuorumX509Util
-
- getConfigPrefix() - Method in class org.apache.zookeeper.common.X509Util
-
- getConfigStatus() - Method in class org.apache.zookeeper.client.ZooKeeperSaslClient
-
- getConfigVersion() - Method in class org.apache.zookeeper.server.quorum.LocalPeerBean
-
- getConfigVersion() - Method in interface org.apache.zookeeper.server.quorum.LocalPeerMXBean
-
- getConnectionInfo(boolean) - Method in class org.apache.zookeeper.server.ServerCnxn
-
- getConnections() - Method in class org.apache.zookeeper.server.NettyServerCnxnFactory
-
- getConnections() - Method in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
- getConnections() - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- getConnectionThreadCount() - Method in class org.apache.zookeeper.server.quorum.QuorumCnxManager
-
Return number of connection processing threads.
- getContainers() - Method in class org.apache.zookeeper.server.DataTree
-
- getContentType() - Method in interface org.apache.zookeeper.server.admin.CommandOutputter
-
The MIME type of this output (e.g., "application/json")
- getContentType() - Method in class org.apache.zookeeper.server.admin.JsonOutputter
-
- getCount() - Method in class org.apache.zookeeper.StatsTrack
-
get the count of nodes allowed as part of quota
- getCounterFromZxid(long) - Static method in class org.apache.zookeeper.server.util.ZxidUtils
-
- getCurrentAndNextConfigVoters() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- getCurrentEpoch() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- getCurrentEpoch() - Method in class org.apache.zookeeper.server.quorum.StateSummary
-
- getCurrentVote() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- getCurrentZxid() - Method in class org.apache.zookeeper.server.quorum.LeaderBean
-
- getCurrentZxid() - Method in interface org.apache.zookeeper.server.quorum.LeaderMXBean
-
Current zxid of cluster.
- getData(String, Stat, Watcher) - Method in class org.apache.zookeeper.server.DataTree
-
- getData(String, Stat, Watcher) - Method in class org.apache.zookeeper.server.ZKDatabase
-
get data and stat for a path
- 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.
- getDataDir() - Method in class org.apache.zookeeper.server.persistence.FileTxnSnapLog
-
get the datadir used by this filetxn
snap log
- getDataDir() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getDataDir() - Method in class org.apache.zookeeper.server.ServerConfig
-
- getDataDir() - Method in class org.apache.zookeeper.server.ZooKeeperServerConf
-
Gets the data directory.
- getDataDirSize() - Method in class org.apache.zookeeper.server.ServerStats
-
- getDataDirSize() - Method in interface org.apache.zookeeper.server.ServerStats.Provider
-
- getDataDirSize() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getDataDirSize() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getDataDirSize() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getDataLogDir() - Method in class org.apache.zookeeper.server.DatadirCleanupManager
-
Returns transaction log directory.
- getDataLogDir() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getDataLogDir() - Method in class org.apache.zookeeper.server.ServerConfig
-
- getDataLogDir() - Method in class org.apache.zookeeper.server.ZooKeeperServerConf
-
Gets the data log directory.
- getDataTree() - Method in class org.apache.zookeeper.server.ZKDatabase
-
the datatree for this zkdatabase
- getDataTreeLastProcessedZxid() - Method in class org.apache.zookeeper.server.ZKDatabase
-
get the last processed zxid from a datatree
- getDataWatches() - Method in class org.apache.zookeeper.ZooKeeper
-
- getDbId() - Method in class org.apache.zookeeper.server.persistence.FileTxnLog
-
the dbid of this transaction database
- getDbId() - Method in interface org.apache.zookeeper.server.persistence.TxnLog
-
the dbid for this transaction log.
- getDefaultFileExtension() - Method in enum org.apache.zookeeper.common.KeyStoreFileType
-
The file extension that is associated with this file type.
- getDefaultRealm() - Method in class org.apache.zookeeper.server.auth.KerberosName
-
Get the configured default realm.
- getDefaultRealm() - Static method in class org.apache.zookeeper.server.util.KerberosUtil
-
- getDefaultSSLContext() - Method in class org.apache.zookeeper.common.X509Util
-
- getDefaultSSLContextAndOptions() - Method in class org.apache.zookeeper.common.X509Util
-
- getDirectBuffer() - Static method in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
- getDoc() - Method in interface org.apache.zookeeper.server.admin.Command
-
A string documentating this command (e.g., what it does, any arguments it
takes).
- getDoc() - Method in class org.apache.zookeeper.server.admin.CommandBase
-
- getElapsed(DataNode) - Method in class org.apache.zookeeper.server.ContainerManager
-
- getElectionAddress() - Method in class org.apache.zookeeper.server.quorum.LocalPeerBean
-
- getElectionAddress() - Method in interface org.apache.zookeeper.server.quorum.LocalPeerMXBean
-
- getElectionAddress() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- getElectionAddress() - Method in class org.apache.zookeeper.server.quorum.RemotePeerBean
-
- getElectionAddress() - Method in interface org.apache.zookeeper.server.quorum.RemotePeerMXBean
-
- getElectionAlg() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Get an instance of LeaderElection
- getElectionAlg() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getElectionEpoch() - Method in class org.apache.zookeeper.server.quorum.Vote
-
- getElectionPort() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getElectionTimeTaken() - Method in class org.apache.zookeeper.server.quorum.FollowerBean
-
- getElectionTimeTaken() - Method in interface org.apache.zookeeper.server.quorum.FollowerMXBean
-
- getElectionTimeTaken() - Method in class org.apache.zookeeper.server.quorum.LeaderBean
-
- getElectionTimeTaken() - Method in interface org.apache.zookeeper.server.quorum.LeaderMXBean
-
- getElectionType() - Method in class org.apache.zookeeper.server.quorum.LocalPeerBean
-
- getElectionType() - Method in interface org.apache.zookeeper.server.quorum.LocalPeerMXBean
-
- getElectionType() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Gets the election type
- getEphemeralNodes() - Method in class org.apache.zookeeper.server.ConnectionBean
-
- getEphemeralNodes() - Method in interface org.apache.zookeeper.server.ConnectionMXBean
-
- getEphemerals(long) - Method in class org.apache.zookeeper.server.DataTree
-
- getEphemerals() - Method in class org.apache.zookeeper.server.DataTree
-
Returns a mapping of session ID to ephemeral znodes.
- getEphemerals() - Method in class org.apache.zookeeper.server.ZKDatabase
-
- getEphemerals(long) - Method in class org.apache.zookeeper.server.ZKDatabase
-
the paths for ephemeral session id
- getEphemerals() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getEphemeralsCount() - Method in class org.apache.zookeeper.server.DataTree
-
- getEpoch() - Method in class org.apache.zookeeper.server.quorum.Leader
-
Returns the current epoch of the leader.
- getEpochFromZxid(long) - Static method in class org.apache.zookeeper.server.util.ZxidUtils
-
- getEpochToPropose(long, long) - Method in class org.apache.zookeeper.server.quorum.Leader
-
- getErr() - Method in class org.apache.zookeeper.OpResult.ErrorResult
-
- getError() - Method in class org.apache.zookeeper.server.admin.CommandResponse
-
Gets the error string (may be null).
- getEstablished() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- getException() - Method in class org.apache.zookeeper.server.Request
-
- getExecString() - Method in class org.apache.zookeeper.Shell
-
return an array containing the command name & its parameters
- getExecString() - Method in class org.apache.zookeeper.Shell.ShellCommandExecutor
-
- getExistWatches() - Method in class org.apache.zookeeper.ZooKeeper
-
- getExitCode() - Method in exception org.apache.zookeeper.cli.CliException
-
- getExitCode() - Method in exception org.apache.zookeeper.Shell.ExitCodeException
-
- getExitCode() - Method in class org.apache.zookeeper.Shell
-
get the exit code
- getExpiryMap() - Method in class org.apache.zookeeper.server.ExpiryQueue
-
Returns an unmodifiable view of the expiration time -> elements mapping.
- getFollower() - Method in class org.apache.zookeeper.server.quorum.FollowerZooKeeperServer
-
- getFormatConversionPolicy(Properties) - Static method in class org.apache.zookeeper.server.persistence.Util
-
Extracts the value of the dbFormatConversion attribute.
- getForwardingFollowers() - Method in class org.apache.zookeeper.server.quorum.Leader
-
Returns a copy of the current forwarding follower snapshot
- getFsyncThresholdExceedCount() - Method in class org.apache.zookeeper.server.ServerStats
-
- getFsyncThresholdExceedCount() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getFsyncThresholdExceedCount() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getFullVersion() - Static method in class org.apache.zookeeper.Version
-
- getGET_PERMISSION_COMMAND() - Static method in class org.apache.zookeeper.Shell
-
Return a Unix command to get permission information.
- getGlobalOutstandingLimit() - Method in class org.apache.zookeeper.server.quorum.FollowerZooKeeperServer
-
- getGlobalOutstandingLimit() - Method in class org.apache.zookeeper.server.quorum.LeaderZooKeeperServer
-
- getGlobalOutstandingLimit() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getGroupsCommand() - Static method in class org.apache.zookeeper.Shell
-
a Unix command to get the current user's groups list
- getGroupsForUserCommand(String) - Static method in class org.apache.zookeeper.Shell
-
a Unix command to get a given user's groups list
- getHandshakeDetectionTimeoutMillis() - Method in class org.apache.zookeeper.common.SSLContextAndOptions
-
- getHdr() - Method in class org.apache.zookeeper.server.Request
-
- getHeader() - Method in class org.apache.zookeeper.server.persistence.FileTxnLog.FileTxnIterator
-
return the current header
- getHeader() - Method in interface org.apache.zookeeper.server.persistence.TxnLog.TxnIterator
-
return the transaction header.
- getHostName() - Method in class org.apache.zookeeper.server.auth.KerberosName
-
Get the second component of the name.
- getId() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
get the id of this quorum peer.
- getId() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer.QuorumServer
-
- getId() - Method in class org.apache.zookeeper.server.quorum.Vote
-
- getInetAddress() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- getInitLimit() - Method in class org.apache.zookeeper.server.quorum.LocalPeerBean
-
- getInitLimit() - Method in interface org.apache.zookeeper.server.quorum.LocalPeerMXBean
-
- getInitLimit() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Get the number of ticks that the initial synchronization phase can take
- getInitLimit() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getInProcess() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getInputStream() - Method in class org.apache.zookeeper.server.quorum.PrependableSocket
-
- getInputStream() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- getInstance() - Static method in class org.apache.zookeeper.jmx.MBeanRegistry
-
- getInt(String, int) - Method in class org.apache.zookeeper.common.ZKConfig
-
Get the value of the key
property as an int
.
- getInterestOps() - Method in class org.apache.zookeeper.server.NettyServerCnxn
-
- getInterestOps() - Method in class org.apache.zookeeper.server.NIOServerCnxn
-
- getInterestOps() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- getIntValue() - Method in enum org.apache.zookeeper.Watcher.Event.EventType
-
- getIntValue() - Method in enum org.apache.zookeeper.Watcher.Event.KeeperState
-
- getIntValue() - Method in enum org.apache.zookeeper.Watcher.WatcherType
-
- getJaasConfKey() - Method in class org.apache.zookeeper.common.ZKConfig
-
Return the value of "java.security.auth.login.config" system property
- getJuteMaxBufferSize() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getJuteMaxBufferSize() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getKeepAlive() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- getKeeperState() - Method in class org.apache.zookeeper.client.ZooKeeperSaslClient
-
- getKey() - Method in class org.apache.zookeeper.Environment.Entry
-
- getKeyManager() - Method in class org.apache.zookeeper.server.auth.X509AuthenticationProvider
-
Get the X509KeyManager implementation used for certificate management.
- getLastBufferSize() - Method in class org.apache.zookeeper.server.quorum.BufferStats
-
Size of the last buffer usage.
- getLastClientResponseSize() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getLastClientResponseSize() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getLastCxid() - Method in class org.apache.zookeeper.server.ConnectionBean
-
- getLastCxid() - Method in interface org.apache.zookeeper.server.ConnectionMXBean
-
Last cxid of this connection
- getLastCxid() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- getLastLatency() - Method in class org.apache.zookeeper.server.ConnectionBean
-
- getLastLatency() - Method in interface org.apache.zookeeper.server.ConnectionMXBean
-
Latency of last response to client on this connection in ms
- getLastLatency() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- getLastLoggedZxid() - Method in class org.apache.zookeeper.server.persistence.FileTxnLog
-
get the last zxid that was logged in the transaction logs
- getLastLoggedZxid() - Method in class org.apache.zookeeper.server.persistence.FileTxnSnapLog
-
the last logged zxid on the transaction logs
- getLastLoggedZxid() - Method in interface org.apache.zookeeper.server.persistence.TxnLog
-
the last zxid of the logged transactions.
- getLastLoggedZxid() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
returns the highest zxid that this host has seen
- getLastOperation() - Method in class org.apache.zookeeper.server.ConnectionBean
-
- getLastOperation() - Method in interface org.apache.zookeeper.server.ConnectionMXBean
-
Last operation performed by this connection
- getLastOperation() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- getLastProcessedZxid() - Method in class org.apache.zookeeper.server.ServerStats
-
- getLastProcessedZxid() - Method in interface org.apache.zookeeper.server.ServerStats.Provider
-
- getLastProcessedZxid() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
return the last proceesed id from the
datatree
- getLastProposalSize() - Method in class org.apache.zookeeper.server.quorum.LeaderBean
-
- getLastProposalSize() - Method in interface org.apache.zookeeper.server.quorum.LeaderMXBean
-
- getLastQueued() - Method in class org.apache.zookeeper.server.quorum.Follower
-
The zxid of the last operation queued
- getLastQueuedZxid() - Method in class org.apache.zookeeper.server.quorum.FollowerBean
-
- getLastQueuedZxid() - Method in interface org.apache.zookeeper.server.quorum.FollowerMXBean
-
- getLastResponseTime() - Method in class org.apache.zookeeper.server.ConnectionBean
-
- getLastResponseTime() - Method in interface org.apache.zookeeper.server.ConnectionMXBean
-
Last time server sent a response to client on this connection
- getLastResponseTime() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- getLastSeenQuorumVerifier() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Return QuorumVerifier object for the last proposed configuration.
- getLastSeenQuorumVerifier() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getLastZxid() - Method in class org.apache.zookeeper.ClientCnxn
-
- getLastZxid() - Method in class org.apache.zookeeper.server.ConnectionBean
-
- getLastZxid() - Method in interface org.apache.zookeeper.server.ConnectionMXBean
-
Last zxid of this connection
- getLastZxid() - Method in class org.apache.zookeeper.server.DataTreeBean
-
- getLastZxid() - Method in interface org.apache.zookeeper.server.DataTreeMXBean
-
- getLastZxid() - Method in class org.apache.zookeeper.server.quorum.StateSummary
-
- getLastZxid() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- getLeader() - Method in class org.apache.zookeeper.server.quorum.LeaderZooKeeperServer
-
- getLearner() - Method in class org.apache.zookeeper.server.quorum.FollowerZooKeeperServer
-
- getLearner() - Method in class org.apache.zookeeper.server.quorum.LearnerZooKeeperServer
-
Abstract method to return the learner associated with this server.
- getLearner() - Method in class org.apache.zookeeper.server.quorum.ObserverZooKeeperServer
-
- getLearners() - Method in class org.apache.zookeeper.server.quorum.Leader
-
Returns a copy of the current learner snapshot
- getLearnerSnapshotThrottler() - Method in class org.apache.zookeeper.server.quorum.Leader
-
- getLearnerType() - Method in class org.apache.zookeeper.server.quorum.LearnerHandler
-
- getLearnerType() - Method in class org.apache.zookeeper.server.quorum.LocalPeerBean
-
- getLearnerType() - Method in interface org.apache.zookeeper.server.quorum.LocalPeerMXBean
-
- getLearnerType() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- getLearnerType() - Method in class org.apache.zookeeper.server.quorum.RemotePeerBean
-
- getLearnerType() - Method in interface org.apache.zookeeper.server.quorum.RemotePeerMXBean
-
- getLocalAddress() - Method in class org.apache.zookeeper.server.NettyServerCnxnFactory
-
- getLocalAddress() - Method in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
- getLocalAddress() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- getLocalAddress() - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- getLocalPort() - Method in class org.apache.zookeeper.server.NettyServerCnxnFactory
-
- getLocalPort() - Method in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
- getLocalPort() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- getLocalPort() - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- getLocalSocketAddress() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- getLogDir(Properties) - Static method in class org.apache.zookeeper.server.persistence.Util
-
Extracts transaction log directory property value from the container.
- getLogDirSize() - Method in class org.apache.zookeeper.server.ServerStats
-
- getLogDirSize() - Method in interface org.apache.zookeeper.server.ServerStats.Provider
-
- getLogDirSize() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getLogDirSize() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getLogDirSize() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getLogFiles(File[], long) - Static method in class org.apache.zookeeper.server.persistence.FileTxnLog
-
Find the log file that starts at, or just before, the snapshot.
- getLogicalClock() - Method in class org.apache.zookeeper.server.quorum.FastLeaderElection
-
Returns the current vlue of the logical clock counter
- getLoginContext() - Method in class org.apache.zookeeper.client.ZooKeeperSaslClient
-
- getLoginContextName() - Method in class org.apache.zookeeper.Login
-
- getLogLock() - Method in class org.apache.zookeeper.server.ZKDatabase
-
Get the lock that controls the committedLog.
- getLong(String, long) - Method in class org.apache.zookeeper.client.ZKClientConfig
-
Get the value of the key
property as an long
.
- getMaxBufferSize() - Method in class org.apache.zookeeper.server.quorum.BufferStats
-
Size of the largest buffer usage.
- getMaxClientCnxns() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getMaxClientCnxns() - Method in class org.apache.zookeeper.server.ServerConfig
-
- getMaxClientCnxnsPerHost() - Method in class org.apache.zookeeper.server.NettyServerCnxnFactory
-
Maximum number of connections allowed from particular host (ip)
- getMaxClientCnxnsPerHost() - Method in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
Maximum number of connections allowed from particular host (ip)
- getMaxClientCnxnsPerHost() - Method in class org.apache.zookeeper.server.quorum.LocalPeerBean
-
- getMaxClientCnxnsPerHost() - Method in interface org.apache.zookeeper.server.quorum.LocalPeerMXBean
-
Current maxClientCnxns allowed from a particular host
- getMaxClientCnxnsPerHost() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Maximum number of connections allowed from particular host (ip)
- getMaxClientCnxnsPerHost() - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
Maximum number of connections allowed from particular host (ip)
- getMaxClientCnxnsPerHost() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
Maximum number of connections allowed from particular host (ip)
- getMaxClientCnxnsPerHost() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getMaxClientCnxnsPerHost() - Method in class org.apache.zookeeper.server.ZooKeeperServerConf
-
Gets the maximum client connections per host.
- getMaxClientCnxnsPerHost() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
Current maxClientCnxns allowed from a particular host
- getMaxClientResponseSize() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getMaxClientResponseSize() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getmaxCommittedLog() - Method in class org.apache.zookeeper.server.ZKDatabase
-
the committed log for this zk database
- getMaxFileDescriptorCount() - Method in class org.apache.zookeeper.server.util.OSMXBean
-
Get the number of the maximum file descriptors the system can use.
- getMaxLatency() - Method in class org.apache.zookeeper.server.ConnectionBean
-
- getMaxLatency() - Method in interface org.apache.zookeeper.server.ConnectionMXBean
-
Max latency in ms
- getMaxLatency() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- getMaxLatency() - Method in class org.apache.zookeeper.server.ServerStats
-
- getMaxPrefixWithQuota(String) - Method in class org.apache.zookeeper.server.DataTree
-
If there is a quota set, return the appropriate prefix for that quota
Else return null
- getMaxProposalSize() - Method in class org.apache.zookeeper.server.quorum.LeaderBean
-
- getMaxProposalSize() - Method in interface org.apache.zookeeper.server.quorum.LeaderMXBean
-
- getMaxRequestLatency() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getMaxRequestLatency() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getMaxSessionTimeout() - Method in class org.apache.zookeeper.server.quorum.LocalPeerBean
-
- getMaxSessionTimeout() - Method in interface org.apache.zookeeper.server.quorum.LocalPeerMXBean
-
- getMaxSessionTimeout() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
maximum session timeout in milliseconds
- getMaxSessionTimeout() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getMaxSessionTimeout() - Method in class org.apache.zookeeper.server.ServerConfig
-
maximum session timeout in milliseconds, -1 if unset
- getMaxSessionTimeout() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getMaxSessionTimeout() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getMaxSessionTimeout() - Method in class org.apache.zookeeper.server.ZooKeeperServerConf
-
Gets the maximum session timeout.
- getMaxSessionTimeout() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
Current maxSessionTimeout of the server in milliseconds
- getMessage() - Method in exception org.apache.zookeeper.KeeperException
-
- getMinBufferSize() - Method in class org.apache.zookeeper.server.quorum.BufferStats
-
Size of the smallest buffer usage.
- getMinClientResponseSize() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getMinClientResponseSize() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getminCommittedLog() - Method in class org.apache.zookeeper.server.ZKDatabase
-
the minimum committed transaction log
available in memory
- getMinIntervalMs() - Method in class org.apache.zookeeper.server.ContainerManager
-
- getMinLatency() - Method in class org.apache.zookeeper.server.ConnectionBean
-
- getMinLatency() - Method in interface org.apache.zookeeper.server.ConnectionMXBean
-
Min latency in ms
- getMinLatency() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- getMinLatency() - Method in class org.apache.zookeeper.server.ServerStats
-
- getMinProposalSize() - Method in class org.apache.zookeeper.server.quorum.LeaderBean
-
- getMinProposalSize() - Method in interface org.apache.zookeeper.server.quorum.LeaderMXBean
-
- getMinRequestLatency() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getMinRequestLatency() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getMinSessionTimeout() - Method in class org.apache.zookeeper.server.quorum.LocalPeerBean
-
- getMinSessionTimeout() - Method in interface org.apache.zookeeper.server.quorum.LocalPeerMXBean
-
- getMinSessionTimeout() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
minimum session timeout in milliseconds
- getMinSessionTimeout() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getMinSessionTimeout() - Method in class org.apache.zookeeper.server.ServerConfig
-
minimum session timeout in milliseconds, -1 if unset
- getMinSessionTimeout() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getMinSessionTimeout() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getMinSessionTimeout() - Method in class org.apache.zookeeper.server.ZooKeeperServerConf
-
Gets the minimum session timeout.
- getMinSessionTimeout() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
Current minSessionTimeout of the server in milliseconds
- getName() - Method in interface org.apache.zookeeper.jmx.ZKMBeanInfo
-
- getName() - Method in class org.apache.zookeeper.server.ConnectionBean
-
- getName() - Method in class org.apache.zookeeper.server.DataTreeBean
-
- getName() - Method in class org.apache.zookeeper.server.ObserverBean
-
- getName() - Method in class org.apache.zookeeper.server.quorum.FollowerBean
-
- getName() - Method in class org.apache.zookeeper.server.quorum.LeaderBean
-
- getName() - Method in class org.apache.zookeeper.server.quorum.LeaderElectionBean
-
- getName() - Method in class org.apache.zookeeper.server.quorum.LocalPeerBean
-
- getName() - Method in class org.apache.zookeeper.server.quorum.QuorumBean
-
- getName() - Method in interface org.apache.zookeeper.server.quorum.QuorumMXBean
-
- getName() - Method in class org.apache.zookeeper.server.quorum.ReadOnlyBean
-
- getName() - Method in class org.apache.zookeeper.server.quorum.RemotePeerBean
-
- getName() - Method in interface org.apache.zookeeper.server.quorum.RemotePeerMXBean
-
- getName() - Method in interface org.apache.zookeeper.server.quorum.ServerMXBean
-
- getName() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getNames() - Method in interface org.apache.zookeeper.server.admin.Command
-
The set of all names that can be used to refer to this command (e.g.,
"configuration", "config", and "conf").
- getNames() - Method in class org.apache.zookeeper.server.admin.CommandBase
-
- getNextDynamicConfigFilename() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- getNode(String) - Method in class org.apache.zookeeper.server.DataTree
-
- getNode(String) - Method in class org.apache.zookeeper.server.ZKDatabase
-
get the datanode for this path
- getNodeCount() - Method in class org.apache.zookeeper.server.DataTree
-
- getNodeCount() - Method in class org.apache.zookeeper.server.DataTreeBean
-
- getNodeCount() - Method in interface org.apache.zookeeper.server.DataTreeMXBean
-
- getNodeCount() - Method in class org.apache.zookeeper.server.ZKDatabase
-
the node count of the datatree
- getNumAliveClientConnections() - Method in class org.apache.zookeeper.server.ServerStats
-
The number of client connections alive to this server
- getNumAliveConnections() - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- getNumAliveConnections() - Method in interface org.apache.zookeeper.server.ServerStats.Provider
-
- getNumAliveConnections() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
return the total number of client connections that are alive
to this server
- getNumAliveConnections() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getNumAliveConnections() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getNumConnections() - Method in class org.apache.zookeeper.server.WatchesSummary
-
Gets the number of connections (sessions) that have set watches.
- getNumPaths() - Method in class org.apache.zookeeper.server.WatchesSummary
-
Gets the number of paths that have watches set on them.
- getNumPendingSyncs() - Method in class org.apache.zookeeper.server.quorum.Leader
-
- getObserver() - Method in class org.apache.zookeeper.server.quorum.ObserverZooKeeperServer
-
- getObservingLearners() - Method in class org.apache.zookeeper.server.quorum.Leader
-
Returns a copy of the current observer snapshot
- getObservingMembers() - Method in class org.apache.zookeeper.server.quorum.flexible.QuorumHierarchical
-
- getObservingMembers() - Method in class org.apache.zookeeper.server.quorum.flexible.QuorumMaj
-
- getObservingMembers() - Method in interface org.apache.zookeeper.server.quorum.flexible.QuorumVerifier
-
- getObservingView() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Returns only observers, no followers.
- getOOBInline() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- getOpenFileDescriptorCount() - Method in class org.apache.zookeeper.server.util.OSMXBean
-
Get the number of opened filed descriptor for the runtime jvm.
- getOptionStr() - Method in class org.apache.zookeeper.cli.CliCommand
-
get the option string
- getOutput() - Method in class org.apache.zookeeper.Shell.ShellCommandExecutor
-
Get the output of the shell command.
- getOutputStream() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- getOutstandingRequests() - Method in class org.apache.zookeeper.server.ConnectionBean
-
- getOutstandingRequests() - Method in interface org.apache.zookeeper.server.ConnectionMXBean
-
- getOutstandingRequests() - Method in class org.apache.zookeeper.server.NettyServerCnxn
-
- getOutstandingRequests() - Method in class org.apache.zookeeper.server.NIOServerCnxn
-
- getOutstandingRequests() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- getOutstandingRequests() - Method in class org.apache.zookeeper.server.ServerStats
-
- getOutstandingRequests() - Method in interface org.apache.zookeeper.server.ServerStats.Provider
-
- getOutstandingRequests() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
return the outstanding requests
in the queue, which havent been
processed yet
- getOutstandingRequests() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getOutstandingRequests() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getOwner() - Method in class org.apache.zookeeper.server.Request
-
- getPacketsReceived() - Method in class org.apache.zookeeper.server.ConnectionBean
-
- getPacketsReceived() - Method in interface org.apache.zookeeper.server.ConnectionMXBean
-
- getPacketsReceived() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- getPacketsReceived() - Method in class org.apache.zookeeper.server.ServerStats
-
- getPacketsReceived() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getPacketsReceived() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getPacketsSent() - Method in class org.apache.zookeeper.server.ConnectionBean
-
- getPacketsSent() - Method in interface org.apache.zookeeper.server.ConnectionMXBean
-
- getPacketsSent() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- getPacketsSent() - Method in class org.apache.zookeeper.server.ServerStats
-
- getPacketsSent() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getPacketsSent() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getPacketType(int) - Static method in class org.apache.zookeeper.server.quorum.Leader
-
Get string representation of a given packet type
- getPath() - Method in exception org.apache.zookeeper.KeeperException
-
Read the path for this exception
- getPath() - Method in class org.apache.zookeeper.Op
-
Gets the path for an Op.
- getPath() - Method in class org.apache.zookeeper.OpResult.CreateResult
-
- getPath() - Method in class org.apache.zookeeper.WatchedEvent
-
- getPaths(long) - Method in class org.apache.zookeeper.server.WatchesReport
-
Gets the paths that the given session has set watches on.
- getPeerEpoch() - Method in class org.apache.zookeeper.server.quorum.Vote
-
- getPeerState() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- getPeerType() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getPendingRevalidationCount() - Method in class org.apache.zookeeper.server.ObserverBean
-
- getPendingRevalidationCount() - Method in class org.apache.zookeeper.server.quorum.FollowerBean
-
- getPendingRevalidationCount() - Method in interface org.apache.zookeeper.server.quorum.FollowerMXBean
-
- getPendingRevalidationCount() - Method in interface org.apache.zookeeper.server.quorum.ObserverMXBean
-
- getPendingRevalidationsCount() - Method in class org.apache.zookeeper.server.quorum.Learner
-
- getPlatformMBeanServer() - Method in class org.apache.zookeeper.jmx.MBeanRegistry
-
Return the underlying MBeanServer that is being
used to register MBean's.
- getPort() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- getPreAllocSize() - Static method in class org.apache.zookeeper.server.persistence.FilePadding
-
Getter of preAllocSize has been added for testing
- getPrimaryName() - Method in interface org.apache.zookeeper.server.admin.Command
-
The name that is returned with the command response and that appears in
the list of all commands.
- getPrimaryName() - Method in class org.apache.zookeeper.server.admin.CommandBase
-
- getPrimaryNames() - Static method in class org.apache.zookeeper.server.admin.Commands
-
Returns the primary names of all registered commands.
- getPrintWatches() - Method in class org.apache.zookeeper.ZooKeeperMain
-
- getProcess() - Method in class org.apache.zookeeper.Shell
-
get the current sub-process executing the given command
- getPrompt() - Method in class org.apache.zookeeper.ZooKeeperMain
-
- getProperty(String) - Method in class org.apache.zookeeper.common.ZKConfig
-
Get the property value
- getProperty(String, String) - Method in class org.apache.zookeeper.common.ZKConfig
-
Get the property value, if it is null return default value
- getPropertyValue() - Method in enum org.apache.zookeeper.common.KeyStoreFileType
-
The property string that specifies that a key store or trust store
should use this store file type.
- getProposalsFromTxnLog(long, long) - Method in class org.apache.zookeeper.server.ZKDatabase
-
Get proposals from txnlog.
- getProposalStats() - Method in class org.apache.zookeeper.server.quorum.Leader
-
- getProvider(String) - Static method in class org.apache.zookeeper.server.auth.ProviderRegistry
-
- getPurgeInterval() - Method in class org.apache.zookeeper.server.DatadirCleanupManager
-
Returns purge interval in hours.
- getPurgeInterval() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getPurgeTaskStatus() - Method in class org.apache.zookeeper.server.DatadirCleanupManager
-
Returns the status of the purge task.
- getQueuedPackets() - Method in class org.apache.zookeeper.server.quorum.LearnerHandler
-
For testing, return packet queue
- getQuorumAddress() - Method in class org.apache.zookeeper.server.ObserverBean
-
- getQuorumAddress() - Method in class org.apache.zookeeper.server.quorum.FollowerBean
-
- getQuorumAddress() - Method in interface org.apache.zookeeper.server.quorum.FollowerMXBean
-
- getQuorumAddress() - Method in class org.apache.zookeeper.server.quorum.LocalPeerBean
-
- getQuorumAddress() - Method in interface org.apache.zookeeper.server.quorum.LocalPeerMXBean
-
- getQuorumAddress() - Method in interface org.apache.zookeeper.server.quorum.ObserverMXBean
-
- getQuorumAddress() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- getQuorumAddress() - Method in class org.apache.zookeeper.server.quorum.RemotePeerBean
-
- getQuorumAddress() - Method in interface org.apache.zookeeper.server.quorum.RemotePeerMXBean
-
- getQuorumCnxManager() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
get reference to QuorumCnxManager
- getQuorumListenOnAllIPs() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- getQuorumListenOnAllIPs() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getQuorumPeer() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerMain
-
- getQuorumPeers() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Only used by QuorumStats at the moment
- getQuorumPeers() - Method in class org.apache.zookeeper.server.quorum.QuorumStats
-
- getQuorumPeers() - Method in interface org.apache.zookeeper.server.quorum.QuorumStats.Provider
-
- getQuorumSize() - Method in class org.apache.zookeeper.server.quorum.QuorumBean
-
- getQuorumSize() - Method in interface org.apache.zookeeper.server.quorum.QuorumMXBean
-
- getQuorumSize() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- getQuorumSystemInfo() - Method in class org.apache.zookeeper.server.quorum.LocalPeerBean
-
- getQuorumSystemInfo() - Method in interface org.apache.zookeeper.server.quorum.LocalPeerMXBean
-
- getQuorumVerifier() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Return QuorumVerifier object for the last committed configuration.
- getQuorumVerifier() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getQuorumVerifier() - Method in class org.apache.zookeeper.server.quorum.SyncedLearnerTracker.QuorumVerifierAcksetPair
-
- getRealm() - Method in class org.apache.zookeeper.server.auth.KerberosName
-
Get the realm of the name.
- getReceiveBufferSize() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- getReferenceCountedAclCache() - Method in class org.apache.zookeeper.server.DataTree
-
- getRegisteredBeans() - Method in class org.apache.zookeeper.jmx.MBeanRegistry
-
- getRemoteSocketAddress() - Method in class org.apache.zookeeper.server.NettyServerCnxn
-
- getRemoteSocketAddress() - Method in class org.apache.zookeeper.server.NIOServerCnxn
-
- getRemoteSocketAddress() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- getRemoteSocketAddress() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- getResultList() - Method in class org.apache.zookeeper.MultiResponse
-
- 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.
- getReuseAddress() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- getRevision() - Static method in class org.apache.zookeeper.Version
-
Deprecated.
- getRevisionHash() - Static method in class org.apache.zookeeper.Version
-
- getSaslClient() - Method in class org.apache.zookeeper.ZooKeeper
-
- getSaslState() - Method in class org.apache.zookeeper.client.ZooKeeperSaslClient
-
- getScheme() - Method in interface org.apache.zookeeper.server.auth.AuthenticationProvider
-
The String used to represent this provider.
- getScheme() - Method in class org.apache.zookeeper.server.auth.DigestAuthenticationProvider
-
- getScheme() - Method in class org.apache.zookeeper.server.auth.IPAuthenticationProvider
-
- getScheme() - Method in class org.apache.zookeeper.server.auth.SASLAuthenticationProvider
-
- getScheme() - Method in class org.apache.zookeeper.server.auth.X509AuthenticationProvider
-
- getSecureClientAddress() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getSecureClientAddress() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getSecureClientPort() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getSecureClientPort() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getSecureClientPort() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getSecureClientPortAddress() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getSecureClientPortAddress() - Method in class org.apache.zookeeper.server.ServerConfig
-
- getSecureServerCnxnFactory() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getSendBufferSize() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- getServerAddresses() - Method in class org.apache.zookeeper.client.ConnectStringParser
-
- getServerAtCurrentIndex() - Method in class org.apache.zookeeper.client.StaticHostProvider
-
- getServerAtIndex(int) - Method in class org.apache.zookeeper.client.StaticHostProvider
-
- getServerCnxnFactory() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getServerId() - Method in class org.apache.zookeeper.server.quorum.LeaderZooKeeperServer
-
Returns the id of the associated QuorumPeer, which will do for a unique
id of this server.
- getServerId() - Method in class org.apache.zookeeper.server.quorum.LearnerZooKeeperServer
-
Returns the id of the associated QuorumPeer, which will do for a unique
id of this server.
- getServerId() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getServerId() - Method in class org.apache.zookeeper.server.quorum.ReadOnlyZooKeeperServer
-
Returns the id of the associated QuorumPeer, which will do for a unique
id of this server.
- getServerId() - Method in interface org.apache.zookeeper.server.SessionTracker.SessionExpirer
-
- getServerId() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getServerId() - Method in class org.apache.zookeeper.server.ZooKeeperServerConf
-
Gets the server ID.
- getServerIdFromSessionId(long) - Static method in class org.apache.zookeeper.server.quorum.LeaderSessionTracker
-
- getServerPrincipal(String, String) - Static method in class org.apache.zookeeper.util.SecurityUtils
-
Convert Kerberos principal name pattern to valid Kerberos principal name.
- getServers() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getServerState() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- getServerState() - Method in class org.apache.zookeeper.server.quorum.QuorumStats
-
- getServerState() - Method in interface org.apache.zookeeper.server.quorum.QuorumStats.Provider
-
- getServerState() - Method in class org.apache.zookeeper.server.ServerStats
-
- getServiceName() - Method in class org.apache.zookeeper.server.auth.KerberosName
-
Get the first component of the name.
- getSessionExpiryMap() - Method in class org.apache.zookeeper.server.quorum.LeaderSessionTracker
-
- getSessionExpiryMap() - Method in class org.apache.zookeeper.server.quorum.LearnerSessionTracker
-
- getSessionExpiryMap() - Method in interface org.apache.zookeeper.server.SessionTracker
-
Returns a mapping of time to session IDs that expire at that time.
- getSessionExpiryMap() - Method in class org.apache.zookeeper.server.SessionTrackerImpl
-
Returns a mapping from time to session IDs of sessions expiring at that time.
- getSessionExpiryMap() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getSessionId() - Method in class org.apache.zookeeper.ClientCnxn
-
- getSessionId() - Method in class org.apache.zookeeper.server.ConnectionBean
-
- getSessionId() - Method in interface org.apache.zookeeper.server.ConnectionMXBean
-
- getSessionId() - Method in class org.apache.zookeeper.server.NettyServerCnxn
-
- getSessionId() - Method in class org.apache.zookeeper.server.NIOServerCnxn
-
- getSessionId() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- getSessionId() - Method in interface org.apache.zookeeper.server.SessionTracker.Session
-
- getSessionId() - Method in class org.apache.zookeeper.server.SessionTrackerImpl.SessionImpl
-
- getSessionId() - Method in class org.apache.zookeeper.ZooKeeper
-
The session id for this ZooKeeper client instance.
- getSessionPasswd() - Method in class org.apache.zookeeper.ClientCnxn
-
- getSessionPasswd() - Method in class org.apache.zookeeper.ZooKeeper
-
The session password for this ZooKeeper client instance.
- getSessions() - Method in class org.apache.zookeeper.server.DataTree
-
- getSessions(String) - Method in class org.apache.zookeeper.server.WatchesPathReport
-
Gets the session IDs of sessions that have set watches on the given path.
- getSessions() - Method in class org.apache.zookeeper.server.ZKDatabase
-
return the sessions in the datatree
- getSessionTimeout() - Method in class org.apache.zookeeper.ClientCnxn
-
- getSessionTimeout() - Method in class org.apache.zookeeper.server.ConnectionBean
-
- getSessionTimeout() - Method in interface org.apache.zookeeper.server.ConnectionMXBean
-
- getSessionTimeout() - Method in class org.apache.zookeeper.server.NettyServerCnxn
-
- getSessionTimeout() - Method in class org.apache.zookeeper.server.NIOServerCnxn
-
- getSessionTimeout(long) - Method in class org.apache.zookeeper.server.SessionTrackerImpl
-
- getSessionTimeout() - Method in class org.apache.zookeeper.ZooKeeper
-
The negotiated session timeout for this ZooKeeper client instance.
- getSessionTracker() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getSessionWithTimeOuts() - Method in class org.apache.zookeeper.server.ZKDatabase
-
get sessions with timeouts
- getShortName() - Method in class org.apache.zookeeper.server.auth.KerberosName
-
Get the translation of the principal name into an operating system
user name.
- getSnapCount() - Static method in class org.apache.zookeeper.server.SyncRequestProcessor
-
used by tests to get the snapcount
- getSnapCount() - Static method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getSnapDir() - Method in class org.apache.zookeeper.server.DatadirCleanupManager
-
Returns the snapshot directory.
- getSnapDir() - Method in class org.apache.zookeeper.server.persistence.FileTxnSnapLog
-
get the snap dir used by this
filetxn snap log
- getSnapDir(Properties) - Static method in class org.apache.zookeeper.server.persistence.Util
-
Extracts snapshot directory property value from the container.
- getSnapRetainCount() - Method in class org.apache.zookeeper.server.DatadirCleanupManager
-
Returns the number of snapshots to be retained after purge.
- getSnapRetainCount() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getSnapshotLogs(long) - Method in class org.apache.zookeeper.server.persistence.FileTxnSnapLog
-
get the snapshot logs which may contain transactions newer than the given zxid.
- getSocket() - Method in class org.apache.zookeeper.server.quorum.Learner
-
Socket getter
- getSocket() - Method in class org.apache.zookeeper.server.quorum.LearnerHandler
-
- getSocketAddress() - Method in class org.apache.zookeeper.server.NIOServerCnxn
-
- getSoLinger() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- getSoTimeout() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- getSourceIP() - Method in class org.apache.zookeeper.server.ConnectionBean
-
- getSourceIP() - Method in interface org.apache.zookeeper.server.ConnectionMXBean
-
- getSslAuthProviderProperty() - Method in class org.apache.zookeeper.common.ClientX509Util
-
- getSslCipherSuitesProperty() - Method in class org.apache.zookeeper.common.X509Util
-
- getSslClientAuthProperty() - Method in class org.apache.zookeeper.common.X509Util
-
- getSSLContext() - Method in class org.apache.zookeeper.common.SSLContextAndOptions
-
- getSslCrlEnabledProperty() - Method in class org.apache.zookeeper.common.X509Util
-
- getSslEnabledProtocolsProperty() - Method in class org.apache.zookeeper.common.X509Util
-
- getSslHandshakeDetectionTimeoutMillisProperty() - Method in class org.apache.zookeeper.common.X509Util
-
Returns the config property key that controls the amount of time, in milliseconds, that the first
UnifiedServerSocket read operation will block for when trying to detect the client mode (TLS or PLAINTEXT).
- getSslHandshakeTimeoutMillis() - Method in class org.apache.zookeeper.common.X509Util
-
Returns the max amount of time, in milliseconds, that the first UnifiedServerSocket read() operation should
block for when trying to detect the client mode (TLS or PLAINTEXT).
- getSslHostnameVerificationEnabledProperty() - Method in class org.apache.zookeeper.common.X509Util
-
- getSslKeystoreLocationProperty() - Method in class org.apache.zookeeper.common.X509Util
-
- getSslKeystorePasswdProperty() - Method in class org.apache.zookeeper.common.X509Util
-
- getSslKeystoreTypeProperty() - Method in class org.apache.zookeeper.common.X509Util
-
- getSslOcspEnabledProperty() - Method in class org.apache.zookeeper.common.X509Util
-
- getSslProtocolProperty() - Method in class org.apache.zookeeper.common.X509Util
-
- getSslSocket() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
Returns the underlying SSLSocket if the mode is TLS.
- getSslTruststoreLocationProperty() - Method in class org.apache.zookeeper.common.X509Util
-
- getSslTruststorePasswdProperty() - Method in class org.apache.zookeeper.common.X509Util
-
- getSslTruststoreTypeProperty() - Method in class org.apache.zookeeper.common.X509Util
-
- getStartedTime() - Method in class org.apache.zookeeper.server.ConnectionBean
-
- getStartedTime() - Method in interface org.apache.zookeeper.server.ConnectionMXBean
-
- getStartTime() - Method in class org.apache.zookeeper.server.quorum.LeaderElectionBean
-
- getStartTime() - Method in interface org.apache.zookeeper.server.quorum.LeaderElectionMXBean
-
- getStartTime() - Method in class org.apache.zookeeper.server.quorum.ServerBean
-
- getStartTime() - Method in interface org.apache.zookeeper.server.quorum.ServerMXBean
-
- getStartTime() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getStartTime() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getStat() - Method in class org.apache.zookeeper.OpResult.CreateResult
-
- getStat() - Method in class org.apache.zookeeper.OpResult.SetDataResult
-
- getState() - Method in class org.apache.zookeeper.common.FileChangeWatcher
-
- getState() - Method in class org.apache.zookeeper.server.quorum.FollowerZooKeeperServer
-
- getState() - Method in class org.apache.zookeeper.server.quorum.LeaderZooKeeperServer
-
- getState() - Method in class org.apache.zookeeper.server.quorum.LocalPeerBean
-
- getState() - Method in interface org.apache.zookeeper.server.quorum.LocalPeerMXBean
-
- getState() - Method in class org.apache.zookeeper.server.quorum.ObserverZooKeeperServer
-
- getState() - Method in class org.apache.zookeeper.server.quorum.ReadOnlyZooKeeperServer
-
- getState() - Method in class org.apache.zookeeper.server.quorum.Vote
-
- getState() - Method in interface org.apache.zookeeper.server.ServerStats.Provider
-
- getState() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getState() - Method in class org.apache.zookeeper.WatchedEvent
-
- getState() - Method in class org.apache.zookeeper.ZooKeeper
-
- getStorageSize() - Method in class org.apache.zookeeper.server.persistence.FileTxnLog.FileTxnIterator
-
Return total storage size of txnlog that will return by this iterator.
- getStorageSize() - Method in interface org.apache.zookeeper.server.persistence.TxnLog.TxnIterator
-
Get an estimated storage space used to store transaction records
that will return by this iterator
- getSubject() - Method in class org.apache.zookeeper.Login
-
- getSyncEnabled() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Return syncEnabled.
- getSyncEnabled() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getSyncLimit() - Method in class org.apache.zookeeper.server.quorum.LocalPeerBean
-
- getSyncLimit() - Method in interface org.apache.zookeeper.server.quorum.LocalPeerMXBean
-
- getSyncLimit() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Get the synclimit
- getSyncLimit() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getTcpNoDelay() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- getTestable() - Method in class org.apache.zookeeper.ZooKeeper
-
- getTextTraceLevel() - Static method in class org.apache.zookeeper.server.ZooTrace
-
- getThreadCount() - Method in class org.apache.zookeeper.server.quorum.QuorumCnxManager
-
Return number of worker threads
- getTick() - Method in class org.apache.zookeeper.server.quorum.LocalPeerBean
-
- getTick() - Method in interface org.apache.zookeeper.server.quorum.LocalPeerMXBean
-
- getTick() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Get the current tick
- getTickTime() - Method in class org.apache.zookeeper.server.quorum.LocalPeerBean
-
- getTickTime() - Method in interface org.apache.zookeeper.server.quorum.LocalPeerMXBean
-
- getTickTime() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Get the number of milliseconds of each tick
- getTickTime() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getTickTime() - Method in class org.apache.zookeeper.server.ServerConfig
-
- getTickTime() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getTickTime() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getTickTime() - Method in class org.apache.zookeeper.server.ZooKeeperServerConf
-
Gets the tick time.
- getTickTime() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
Current TickTime of server in milliseconds
- getTimeout() - Method in interface org.apache.zookeeper.server.SessionTracker.Session
-
- getTimeout() - Method in class org.apache.zookeeper.server.SessionTrackerImpl.SessionImpl
-
- getTotalWatches() - Method in class org.apache.zookeeper.server.WatchesSummary
-
Gets the total number of watches set.
- getTouchSnapshot() - Method in class org.apache.zookeeper.server.quorum.LearnerZooKeeperServer
-
Returns the current state of the session tracker.
- getTraceMask(String, int) - Static method in class org.apache.zookeeper.ServerAdminClient
-
- getTraceMaskCmd - Static variable in class org.apache.zookeeper.server.command.FourLetterCommands
-
- GetTraceMaskCommand() - Constructor for class org.apache.zookeeper.server.admin.Commands.GetTraceMaskCommand
-
- getTrafficClass() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- getTrustManager() - Method in class org.apache.zookeeper.server.auth.X509AuthenticationProvider
-
Get the X509TrustManager implementation used for remote host
authentication.
- getTtls() - Method in class org.apache.zookeeper.server.DataTree
-
- getTxn() - Method in class org.apache.zookeeper.server.persistence.FileTxnLog.FileTxnIterator
-
return the current transaction
- getTxn() - Method in interface org.apache.zookeeper.server.persistence.TxnLog.TxnIterator
-
return the transaction record.
- getTxn() - Method in class org.apache.zookeeper.server.Request
-
- getTxnFactory() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- getTxnLogElapsedSyncTime() - Method in class org.apache.zookeeper.server.persistence.FileTxnSnapLog
-
- getTxnLogElapsedSyncTime() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
Returns the elapsed sync of time of transaction log in milliseconds.
- getTxnLogElapsedSyncTime() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getTxnLogElapsedSyncTime() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
Returns the elapsed sync of time of transaction log in milliseconds.
- getTxnLogFactory() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getTxnLogSyncElapsedTime() - Method in class org.apache.zookeeper.server.persistence.FileTxnLog
-
- getTxnLogSyncElapsedTime() - Method in interface org.apache.zookeeper.server.persistence.TxnLog
-
- getType() - Method in class org.apache.zookeeper.Op
-
Gets the integer type code for an Op.
- getType() - Method in class org.apache.zookeeper.OpResult
-
Encodes the return type as from ZooDefs.OpCode.
- getType() - Method in class org.apache.zookeeper.WatchedEvent
-
- getUlimitMemoryCommand(int) - Static method in class org.apache.zookeeper.Shell
-
Get the Unix command for setting the maximum virtual memory available
to a given child process.
- getUnix() - Method in class org.apache.zookeeper.server.util.OSMXBean
-
Check if the OS is unix.
- getUsageStr() - Method in class org.apache.zookeeper.cli.CliCommand
-
get a usage string, contains the command and the options
- getValue() - Method in class org.apache.zookeeper.Environment.Entry
-
- getValue(long) - Method in enum org.apache.zookeeper.server.EphemeralType
-
For types that support it, return the extended value from an extended ephemeral owner
- getVersion() - Method in class org.apache.zookeeper.server.quorum.flexible.QuorumHierarchical
-
- getVersion() - Method in class org.apache.zookeeper.server.quorum.flexible.QuorumMaj
-
- getVersion() - Method in interface org.apache.zookeeper.server.quorum.flexible.QuorumVerifier
-
- getVersion() - Method in class org.apache.zookeeper.server.quorum.Vote
-
- getVersion() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- getVersion() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
- getVersion() - Static method in class org.apache.zookeeper.Version
-
- getVersionFromFilename(String) - Static method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- getVersionRevision() - Static method in class org.apache.zookeeper.Version
-
- getView() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
A 'view' is a node's current opinion of the membership of the entire
ensemble.
- getVote() - Method in class org.apache.zookeeper.server.quorum.FastLeaderElection
-
- getVotingMembers() - Method in class org.apache.zookeeper.server.quorum.flexible.QuorumHierarchical
-
- getVotingMembers() - Method in class org.apache.zookeeper.server.quorum.flexible.QuorumMaj
-
- getVotingMembers() - Method in interface org.apache.zookeeper.server.quorum.flexible.QuorumVerifier
-
- getVotingView() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Observers are not contained in this view, only nodes with
PeerType=PARTICIPANT.
- getWaitTime() - Method in class org.apache.zookeeper.server.ExpiryQueue
-
- getWatchCount() - Method in class org.apache.zookeeper.server.DataTree
-
- getWatchCount() - Method in class org.apache.zookeeper.server.DataTreeBean
-
- getWatchCount() - Method in interface org.apache.zookeeper.server.DataTreeMXBean
-
- getWatches() - Method in class org.apache.zookeeper.server.DataTree
-
Returns a watch report.
- getWatches(int) - Method in class org.apache.zookeeper.ZooKeeper.WatchRegistration
-
- getWatchesByPath() - Method in class org.apache.zookeeper.server.DataTree
-
Returns a watch report by path.
- getWatchesSummary() - Method in class org.apache.zookeeper.server.DataTree
-
Returns a watch summary.
- getWeight(long) - Method in class org.apache.zookeeper.server.quorum.flexible.QuorumHierarchical
-
Returns the weight of a server.
- getWeight(long) - Method in class org.apache.zookeeper.server.quorum.flexible.QuorumMaj
-
Returns weight of 1 by default.
- getWeight(long) - Method in interface org.apache.zookeeper.server.quorum.flexible.QuorumVerifier
-
- getWrapper() - Method in class org.apache.zookeeper.WatchedEvent
-
Convert WatchedEvent to type that can be sent over network
- getXid() - Method in class org.apache.zookeeper.ClientCnxn
-
- getZKDatabase() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
get the zookeeper database for this server
- getZkDb() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- getZooKeeperServer() - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- getZooKeeperServerListener() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getZxid() - Method in class org.apache.zookeeper.server.quorum.Follower
-
The zxid of the last operation seen
- getZxid() - Method in class org.apache.zookeeper.server.quorum.Vote
-
- getZxid() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- getZxidFromName(String, String) - Static method in class org.apache.zookeeper.server.persistence.Util
-
Extracts zxid from the file name.
- packet - Variable in class org.apache.zookeeper.server.quorum.Leader.Proposal
-
- packetReceived() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- packetSent() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- packetsReceived - Variable in class org.apache.zookeeper.server.ServerCnxn
-
- packetsSent - Variable in class org.apache.zookeeper.server.ServerCnxn
-
- packetToString(QuorumPacket) - Static method in class org.apache.zookeeper.server.quorum.LearnerHandler
-
- parse(String) - Static method in class org.apache.zookeeper.cli.AclParser
-
parse string into list of ACL
- parse(String[]) - Method in class org.apache.zookeeper.cli.AddAuthCommand
-
- parse(String[]) - Method in class org.apache.zookeeper.cli.CliCommand
-
parse the command arguments
- parse(String[]) - Method in class org.apache.zookeeper.cli.CloseCommand
-
- parse(String[]) - Method in class org.apache.zookeeper.cli.CreateCommand
-
- parse(String[]) - Method in class org.apache.zookeeper.cli.DeleteAllCommand
-
- parse(String[]) - Method in class org.apache.zookeeper.cli.DeleteCommand
-
- parse(String[]) - Method in class org.apache.zookeeper.cli.DelQuotaCommand
-
- parse(String[]) - Method in class org.apache.zookeeper.cli.GetAclCommand
-
- parse(String[]) - Method in class org.apache.zookeeper.cli.GetCommand
-
- parse(String[]) - Method in class org.apache.zookeeper.cli.GetConfigCommand
-
- parse(String[]) - Method in class org.apache.zookeeper.cli.ListQuotaCommand
-
- parse(String[]) - Method in class org.apache.zookeeper.cli.Ls2Command
-
- parse(String[]) - Method in class org.apache.zookeeper.cli.LsCommand
-
- parse(String[]) - Method in class org.apache.zookeeper.cli.ReconfigCommand
-
- parse(String[]) - Method in class org.apache.zookeeper.cli.RemoveWatchesCommand
-
- parse(String[]) - Method in class org.apache.zookeeper.cli.SetAclCommand
-
- parse(String[]) - Method in class org.apache.zookeeper.cli.SetCommand
-
- parse(String[]) - Method in class org.apache.zookeeper.cli.SetQuotaCommand
-
- parse(String[]) - Method in class org.apache.zookeeper.cli.StatCommand
-
- parse(String[]) - Method in class org.apache.zookeeper.cli.SyncCommand
-
- parse(Long, DataInputStream) - Static method in class org.apache.zookeeper.server.quorum.QuorumCnxManager.InitialMessage
-
- parse(String) - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
Parse a ZooKeeper configuration file
- parse(String[]) - Method in class org.apache.zookeeper.server.ServerConfig
-
Parse arguments for server configuration
- parse(String) - Method in class org.apache.zookeeper.server.ServerConfig
-
Parse a ZooKeeper configuration file
- parseDynamicConfig(Properties, int, boolean, boolean) - Static method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
Parse dynamic configuration file and return
quorumVerifier for new configuration.
- parseExecResult(BufferedReader) - Method in class org.apache.zookeeper.Shell
-
Parse the execution result
- parseExecResult(BufferedReader) - Method in class org.apache.zookeeper.Shell.ShellCommandExecutor
-
- parseProperties(Properties) - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
Parse config from a Properties.
- parseVersionString(String) - Static method in class org.apache.zookeeper.version.util.VerGen
-
- path - Variable in class org.apache.zookeeper.server.DataTree.ProcessTxnResult
-
- PathTrie - Class in org.apache.zookeeper.common
-
a class that implements prefix matching for
components of a filesystem path.
- PathTrie() - Constructor for class org.apache.zookeeper.common.PathTrie
-
construct a new PathTrie with
a root node of /
- PathUtils - Class in org.apache.zookeeper.common
-
Path related utilities
- PathUtils() - Constructor for class org.apache.zookeeper.common.PathUtils
-
- peerType - Variable in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- PemReader - Class in org.apache.zookeeper.util
-
Note: this class is copied from io.airlift.security.pem.PemReader (see
https://github.com/airlift/airlift/blob/master/security/src/main/java/io/airlift/security/pem/PemReader.java) with
permission of the authors, to avoid adding an extra library dependency to Zookeeper.
- ping(QuorumPacket) - Method in class org.apache.zookeeper.server.quorum.Learner
-
- ping() - Method in class org.apache.zookeeper.server.quorum.LearnerHandler
-
ping calls from the leader to the peers
- ping - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
-
- poll() - Method in class org.apache.zookeeper.server.ExpiryQueue
-
Remove the next expired set of elements from expireMap.
- pollRecvQueue(long, TimeUnit) - Method in class org.apache.zookeeper.server.quorum.QuorumCnxManager
-
Retrieves and removes a message at the head of this queue,
waiting up to the specified wait time if necessary for an element to
become available.
- PrependableSocket - Class in org.apache.zookeeper.server.quorum
-
- PrependableSocket(SocketImpl) - Constructor for class org.apache.zookeeper.server.quorum.PrependableSocket
-
- prependToInputStream(byte[], int, int) - Method in class org.apache.zookeeper.server.quorum.PrependableSocket
-
Prepend some bytes that have already been read back to the socket's input stream.
- PrepRequestProcessor - Class in org.apache.zookeeper.server
-
This request processor is generally at the start of a RequestProcessor
change.
- PrepRequestProcessor(ZooKeeperServer, RequestProcessor) - Constructor for class org.apache.zookeeper.server.PrepRequestProcessor
-
- pRequest(Request) - Method in class org.apache.zookeeper.server.PrepRequestProcessor
-
This method will be called inside the ProcessRequestThread, which is a
singleton, so there will be a single thread calling this code.
- pRequest2Txn(int, long, Request, Record, boolean) - Method in class org.apache.zookeeper.server.PrepRequestProcessor
-
This method will be called inside the ProcessRequestThread, which is a
singleton, so there will be a single thread calling this code.
- print(Stat) - Method in class org.apache.zookeeper.cli.StatPrinter
-
- printMessage(String) - Static method in class org.apache.zookeeper.ZooKeeperMain
-
- printUsage() - Static method in class org.apache.zookeeper.Version
-
- printWatches - Variable in class org.apache.zookeeper.ZooKeeperMain
-
- process(WatchedEvent) - Method in class org.apache.zookeeper.server.NettyServerCnxn
-
- process(WatchedEvent) - Method in class org.apache.zookeeper.server.NIOServerCnxn
-
- process(WatchedEvent) - Method in class org.apache.zookeeper.server.ServerCnxn
-
- process(WatchedEvent) - Method in interface org.apache.zookeeper.Watcher
-
- processAck(long, long, SocketAddress) - Method in class org.apache.zookeeper.server.quorum.Leader
-
Keep a count of acks that are received by the leader for a particular
proposal
- processCmd(ZooKeeperMain.MyCommandOptions) - Method in class org.apache.zookeeper.ZooKeeperMain
-
- processCommitted() - Method in class org.apache.zookeeper.server.quorum.CommitProcessor
-
- processConnectRequest(ServerCnxn, ByteBuffer) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- processPacket(QuorumPacket) - Method in class org.apache.zookeeper.server.quorum.Follower
-
Examine the packet received in qp and dispatch based on its contents.
- processPacket(QuorumPacket) - Method in class org.apache.zookeeper.server.quorum.Observer
-
Controls the response of an observer to the receipt of a quorumpacket
- processPacket(ServerCnxn, ByteBuffer) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- processReconfig(QuorumVerifier, Long, Long, boolean) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- processRequest(Request) - Method in class org.apache.zookeeper.server.FinalRequestProcessor
-
- processRequest(Request) - Method in class org.apache.zookeeper.server.PrepRequestProcessor
-
- processRequest(Request) - Method in class org.apache.zookeeper.server.quorum.CommitProcessor
-
- processRequest(Request) - Method in class org.apache.zookeeper.server.quorum.FollowerRequestProcessor
-
- processRequest(Request) - Method in class org.apache.zookeeper.server.quorum.LeaderRequestProcessor
-
- processRequest(Request) - Method in class org.apache.zookeeper.server.quorum.ObserverRequestProcessor
-
Simply queue the request, which will be processed in FIFO order.
- processRequest(Request) - Method in class org.apache.zookeeper.server.quorum.ProposalRequestProcessor
-
- processRequest(Request) - Method in class org.apache.zookeeper.server.quorum.ReadOnlyRequestProcessor
-
- processRequest(Request) - Method in class org.apache.zookeeper.server.quorum.SendAckRequestProcessor
-
- processRequest(Request) - Method in interface org.apache.zookeeper.server.RequestProcessor
-
- processRequest(Request) - Method in class org.apache.zookeeper.server.SyncRequestProcessor
-
- processRequest(Request) - Method in class org.apache.zookeeper.server.UnimplementedRequestProcessor
-
- processResult(int, String, Object, List<ACL>, Stat) - Method in interface org.apache.zookeeper.AsyncCallback.ACLCallback
-
Process the result of the asynchronous call.
- processResult(int, String, Object, List<String>, Stat) - Method in interface org.apache.zookeeper.AsyncCallback.Children2Callback
-
Process the result of the asynchronous call.
- processResult(int, String, Object, List<String>) - Method in interface org.apache.zookeeper.AsyncCallback.ChildrenCallback
-
Process the result of the asynchronous call.
- processResult(int, String, Object, String, Stat) - Method in interface org.apache.zookeeper.AsyncCallback.Create2Callback
-
Process the result of the asynchronous call.
- processResult(int, String, Object, byte[], Stat) - Method in interface org.apache.zookeeper.AsyncCallback.DataCallback
-
Process the result of asynchronous calls.
- processResult(int, String, Object, List<OpResult>) - Method in interface org.apache.zookeeper.AsyncCallback.MultiCallback
-
Process the result of the asynchronous call.
- processResult(int, String, Object, Stat) - Method in interface org.apache.zookeeper.AsyncCallback.StatCallback
-
Process the result of the asynchronous call.
- processResult(int, String, Object, String) - Method in interface org.apache.zookeeper.AsyncCallback.StringCallback
-
Process the result of the asynchronous call.
- processResult(int, String, Object) - Method in interface org.apache.zookeeper.AsyncCallback.VoidCallback
-
Process the result of the asynchronous call.
- processResult(int, String, Object, byte[], Stat) - Method in class org.apache.zookeeper.client.ZooKeeperSaslClient.ServerSaslResponseCallback
-
- processSync(LearnerSyncRequest) - Method in class org.apache.zookeeper.server.quorum.Leader
-
Process sync requests
- processTransaction(TxnHeader, DataTree, Map<Long, Integer>, Record) - Method in class org.apache.zookeeper.server.persistence.FileTxnSnapLog
-
process the transaction on the datatree
- processTxn(TxnHeader, Record) - Method in class org.apache.zookeeper.server.DataTree
-
- processTxn(TxnHeader, Record, boolean) - Method in class org.apache.zookeeper.server.DataTree
-
- processTxn(TxnHeader, Record) - Method in class org.apache.zookeeper.server.ZKDatabase
-
the process txn on the data
- processTxn(TxnHeader, Record) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- processTxn(Request) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- ProcessTxnResult() - Constructor for class org.apache.zookeeper.server.DataTree.ProcessTxnResult
-
- processZKCmd(ZooKeeperMain.MyCommandOptions) - Method in class org.apache.zookeeper.ZooKeeperMain
-
- procZookeeper - Static variable in class org.apache.zookeeper.Quotas
-
the zookeeper nodes that acts as the management and status node
- PROPOSAL - Static variable in class org.apache.zookeeper.server.quorum.Leader
-
This message type is sent by a leader to propose a mutation.
- Proposal() - Constructor for class org.apache.zookeeper.server.quorum.Leader.Proposal
-
- ProposalRequestProcessor - Class in org.apache.zookeeper.server.quorum
-
This RequestProcessor simply forwards requests to an AckRequestProcessor and
SyncRequestProcessor.
- ProposalRequestProcessor(LeaderZooKeeperServer, RequestProcessor) - Constructor for class org.apache.zookeeper.server.quorum.ProposalRequestProcessor
-
- propose(Request) - Method in class org.apache.zookeeper.server.quorum.Leader
-
create a proposal and send it out to all the members
- PROTOCOL_VERSION - Static variable in class org.apache.zookeeper.server.quorum.QuorumCnxManager
-
- ProviderRegistry - Class in org.apache.zookeeper.server.auth
-
- ProviderRegistry() - Constructor for class org.apache.zookeeper.server.auth.ProviderRegistry
-
- 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.
- purgeInterval - Variable in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- 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
-
- purgeUnused() - Method in class org.apache.zookeeper.server.ReferenceCountedACLCache
-
- put(String, Object) - Method in class org.apache.zookeeper.server.admin.CommandResponse
-
Adds a key/value pair to this response.
- putAll(Map<? extends String, ?>) - Method in class org.apache.zookeeper.server.admin.CommandResponse
-
Adds all key/value pairs in the given map to this response.
- pw - Variable in class org.apache.zookeeper.server.command.AbstractFourLetterCommand
-
- rateLimitLog(String) - Method in class org.apache.zookeeper.server.RateLogger
-
- RateLogger - Class in org.apache.zookeeper.server
-
- RateLogger(Logger) - Constructor for class org.apache.zookeeper.server.RateLogger
-
- read() - Method in class org.apache.zookeeper.server.ByteBufferInputStream
-
- read(byte[], int, int) - Method in class org.apache.zookeeper.server.ByteBufferInputStream
-
- read(byte[]) - Method in class org.apache.zookeeper.server.ByteBufferInputStream
-
- read(long) - Method in class org.apache.zookeeper.server.persistence.FileTxnLog
-
start reading all the transactions from the given zxid
- read(long, boolean) - Method in class org.apache.zookeeper.server.persistence.FileTxnLog
-
start reading all the transactions from the given zxid.
- read(long) - Method in interface org.apache.zookeeper.server.persistence.TxnLog
-
Start reading the transaction logs
from a given zxid
- 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.
- readCertificateChain(File) - Static method in class org.apache.zookeeper.util.PemReader
-
- readCertificateChain(String) - Static method in class org.apache.zookeeper.util.PemReader
-
- readFrom(QuorumPeerConfig) - Method in class org.apache.zookeeper.server.ServerConfig
-
Read attributes from a QuorumPeerConfig.
- ReadOnlyBean - Class in org.apache.zookeeper.server.quorum
-
ReadOnly MX Bean interface, implemented by ReadOnlyBean
- ReadOnlyBean(ZooKeeperServer) - Constructor for class org.apache.zookeeper.server.quorum.ReadOnlyBean
-
- ReadOnlyRequestProcessor - Class in org.apache.zookeeper.server.quorum
-
This processor is at the beginning of the ReadOnlyZooKeeperServer's
processors chain.
- ReadOnlyRequestProcessor(ZooKeeperServer, RequestProcessor) - Constructor for class org.apache.zookeeper.server.quorum.ReadOnlyRequestProcessor
-
- ReadOnlyZooKeeperServer - Class in org.apache.zookeeper.server.quorum
-
A ZooKeeperServer which comes into play when peer is partitioned from the
majority.
- readTxnBytes(InputArchive) - Static method in class org.apache.zookeeper.server.persistence.Util
-
Reads a transaction entry from the input archive.
- readTxnLog(long) - Method in class org.apache.zookeeper.server.persistence.FileTxnSnapLog
-
Get TxnIterator for iterating through txnlog starting at a given zxid
- readTxnLog(long, boolean) - Method in class org.apache.zookeeper.server.persistence.FileTxnSnapLog
-
Get TxnIterator for iterating through txnlog starting at a given zxid
- receiveConnection(Socket) - Method in class org.apache.zookeeper.server.quorum.QuorumCnxManager
-
If this server receives a connection request, then it gives up on the new
connection if it wins.
- receiveConnectionAsync(Socket) - Method in class org.apache.zookeeper.server.quorum.QuorumCnxManager
-
Server receives a connection request and handles it asynchronously via
separate thread.
- reconfig - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
-
- reconfig(String, String, String, long, Stat) - Method in class org.apache.zookeeper.ZooKeeper
-
- reconfig(List<String>, List<String>, List<String>, long, Stat) - Method in class org.apache.zookeeper.ZooKeeper
-
- reconfig(String, String, String, long, AsyncCallback.DataCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
-
- reconfig(List<String>, List<String>, List<String>, long, AsyncCallback.DataCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
-
- ReconfigCommand - Class in org.apache.zookeeper.cli
-
reconfig command for cli
- ReconfigCommand() - Constructor for class org.apache.zookeeper.cli.ReconfigCommand
-
- ReconfigDisabledException() - Constructor for exception org.apache.zookeeper.KeeperException.ReconfigDisabledException
-
- ReconfigDisabledException(String) - Constructor for exception org.apache.zookeeper.KeeperException.ReconfigDisabledException
-
- reconfigFlagClear() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- reconfigFlagSet() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- ReconfigInProgress - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
-
- ReconfigInProgress() - Constructor for exception org.apache.zookeeper.KeeperException.ReconfigInProgress
-
- reconfigure(String, String, String, long, Stat) - Method in class org.apache.zookeeper.admin.ZooKeeperAdmin
-
Reconfigure - add/remove servers.
- reconfigure(List<String>, List<String>, List<String>, long, Stat) - Method in class org.apache.zookeeper.admin.ZooKeeperAdmin
-
Convenience wrapper around reconfig that takes Lists of strings instead of comma-separated servers.
- reconfigure(String, String, String, long, AsyncCallback.DataCallback, Object) - Method in class org.apache.zookeeper.admin.ZooKeeperAdmin
-
The Asynchronous version of reconfig.
- reconfigure(List<String>, List<String>, List<String>, long, AsyncCallback.DataCallback, Object) - Method in class org.apache.zookeeper.admin.ZooKeeperAdmin
-
Convenience wrapper around asynchronous reconfig that takes Lists of strings instead of comma-separated servers.
- reconfigure(InetSocketAddress) - Method in class org.apache.zookeeper.server.NettyServerCnxnFactory
-
- reconfigure(InetSocketAddress) - Method in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
- reconfigure(InetSocketAddress) - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- record2ByteBuffer(Record, ByteBuffer) - Static method in class org.apache.zookeeper.server.ByteBufferOutputStream
-
- recreateSocketAddresses() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer.QuorumServer
-
Performs a DNS lookup for server address and election address.
- recreateSocketAddresses(long) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Resolves hostname for a given server ID.
- recvQueue - Variable in class org.apache.zookeeper.server.quorum.QuorumCnxManager
-
- ReferenceCountedACLCache - Class in org.apache.zookeeper.server
-
- ReferenceCountedACLCache() - Constructor for class org.apache.zookeeper.server.ReferenceCountedACLCache
-
- register(ZKMBeanInfo, ZKMBeanInfo) - Method in class org.apache.zookeeper.jmx.MBeanRegistry
-
Registers a new MBean with the platform MBean server.
- register(Watcher) - Method in class org.apache.zookeeper.ZooKeeper
-
Specify the default watcher for the connection (overrides the one
specified during construction).
- register(int) - Method in class org.apache.zookeeper.ZooKeeper.WatchRegistration
-
Register the watcher with the set of watches on path.
- registerCommand(Command) - Static method in class org.apache.zookeeper.server.admin.Commands
-
Registers the given command.
- registerConnection(ServerCnxn) - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- registerJMX() - Method in class org.apache.zookeeper.server.quorum.LeaderZooKeeperServer
-
- registerJMX(LeaderBean, LocalPeerBean) - Method in class org.apache.zookeeper.server.quorum.LeaderZooKeeperServer
-
- registerJMX() - Method in class org.apache.zookeeper.server.quorum.LearnerZooKeeperServer
-
- registerJMX(ZooKeeperServerBean, LocalPeerBean) - Method in class org.apache.zookeeper.server.quorum.LearnerZooKeeperServer
-
- registerJMX() - Method in class org.apache.zookeeper.server.quorum.ReadOnlyZooKeeperServer
-
- registerJMX(ZooKeeperServerBean, LocalPeerBean) - Method in class org.apache.zookeeper.server.quorum.ReadOnlyZooKeeperServer
-
- registerJMX() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- registerLog4jMBeans() - Static method in class org.apache.zookeeper.jmx.ManagedUtil
-
Register the log4j JMX mbeans.
- registerWithLeader(int) - Method in class org.apache.zookeeper.server.quorum.Learner
-
Once connected to the leader, perform the handshake protocol to
establish a following / observing connection.
- RemotePeerBean - Class in org.apache.zookeeper.server.quorum
-
A remote peer bean only provides limited information about the remote peer,
and the peer cannot be managed remotely.
- RemotePeerBean(QuorumPeer, QuorumPeer.QuorumServer) - Constructor for class org.apache.zookeeper.server.quorum.RemotePeerBean
-
- RemotePeerMXBean - Interface in org.apache.zookeeper.server.quorum
-
A proxy for a remote quorum peer.
- remove(E) - Method in class org.apache.zookeeper.server.ExpiryQueue
-
Removes element from the queue.
- remove() - Method in class org.apache.zookeeper.server.TxnLogProposalIterator
-
- removeAllWatches(String, Watcher.WatcherType, boolean) - Method in class org.apache.zookeeper.ZooKeeper
-
For the given znode path, removes all the registered watchers of given
watcherType.
- removeAllWatches(String, Watcher.WatcherType, boolean, AsyncCallback.VoidCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
-
The asynchronous version of removeAllWatches.
- removeAuthInfo(Id) - Method in class org.apache.zookeeper.server.ServerCnxn
-
- removeChild(String) - Method in class org.apache.zookeeper.server.DataNode
-
Method that removes a child from the children set
- removeCnxn(Watcher) - Method in class org.apache.zookeeper.server.DataTree
-
- removeCnxn(NIOServerCnxn) - Method in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
De-registers the connection from the various mappings maintained
by the factory.
- removeCnxn(ServerCnxn) - Method in class org.apache.zookeeper.server.ZKDatabase
-
remove a cnxn from the datatree
- removeSession(long) - Method in class org.apache.zookeeper.server.quorum.LeaderSessionTracker
-
- removeSession(long) - Method in class org.apache.zookeeper.server.quorum.LearnerSessionTracker
-
- removeSession(long) - Method in interface org.apache.zookeeper.server.SessionTracker
-
- removeSession(long) - Method in class org.apache.zookeeper.server.SessionTrackerImpl
-
- removeUsage(Long) - Method in class org.apache.zookeeper.server.ReferenceCountedACLCache
-
- removeWatch(String, Watcher.WatcherType, Watcher) - Method in class org.apache.zookeeper.server.DataTree
-
- removeWatch(String, Watcher.WatcherType, Watcher) - Method in class org.apache.zookeeper.server.ZKDatabase
-
Remove watch from the datatree
- removeWatches - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
-
- removeWatches(String, Watcher, Watcher.WatcherType, boolean) - Method in class org.apache.zookeeper.ZooKeeper
-
For the given znode path, removes the specified watcher of given
watcherType.
- removeWatches(String, Watcher, Watcher.WatcherType, boolean, AsyncCallback.VoidCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
-
The asynchronous version of removeWatches.
- RemoveWatchesCommand - Class in org.apache.zookeeper.cli
-
Remove watches command for cli
- RemoveWatchesCommand() - Constructor for class org.apache.zookeeper.cli.RemoveWatchesCommand
-
- reopenSession(ServerCnxn, long, byte[], int) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- request - Variable in class org.apache.zookeeper.server.quorum.Leader.Proposal
-
- Request - Class in org.apache.zookeeper.server
-
This is the structure that represents a request moving through a chain of
RequestProcessors.
- Request(ServerCnxn, long, int, int, ByteBuffer, List<Id>) - Constructor for class org.apache.zookeeper.server.Request
-
- Request(long, int, int, TxnHeader, Record, long) - Constructor for class org.apache.zookeeper.server.Request
-
- request - Variable in class org.apache.zookeeper.server.Request
-
- requestOfDeath - Static variable in class org.apache.zookeeper.server.Request
-
- RequestProcessor - Interface in org.apache.zookeeper.server
-
RequestProcessors are chained together to process transactions.
- RequestProcessor.RequestProcessorException - Exception in org.apache.zookeeper.server
-
- RequestProcessorException(String, Throwable) - Constructor for exception org.apache.zookeeper.server.RequestProcessor.RequestProcessorException
-
- RequestTimeoutException() - Constructor for exception org.apache.zookeeper.KeeperException.RequestTimeoutException
-
- reset() - Method in class org.apache.zookeeper.server.quorum.BufferStats
-
Reset statistics.
- reset() - Method in class org.apache.zookeeper.server.ServerStats
-
- resetAllConnectionStats() - Method in class org.apache.zookeeper.server.NettyServerCnxnFactory
-
- resetAllConnectionStats() - Method in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
- resetAllConnectionStats() - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- resetCounters() - Method in class org.apache.zookeeper.server.ConnectionBean
-
- resetCounters() - Method in interface org.apache.zookeeper.server.ConnectionMXBean
-
Reset counters
- resetFsyncThresholdExceedCount() - Method in class org.apache.zookeeper.server.ServerStats
-
- resetFsyncThresholdExceedCount() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- resetFsyncThresholdExceedCount() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
Reset Fsync Threshold Exceed Count statistics only.
- resetLatency() - Method in class org.apache.zookeeper.server.ServerStats
-
- resetLatency() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- resetLatency() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
Reset min/avg/max latency statistics
- resetMaxLatency() - Method in class org.apache.zookeeper.server.ServerStats
-
- resetMaxLatency() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- resetMaxLatency() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
Reset max latency statistics only.
- resetProposalStatistics() - Method in class org.apache.zookeeper.server.quorum.LeaderBean
-
- resetProposalStatistics() - Method in interface org.apache.zookeeper.server.quorum.LeaderMXBean
-
Resets statistics of proposal size (min/max/last)
- resetRequestCounters() - Method in class org.apache.zookeeper.server.ServerStats
-
- resetStatistics() - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- resetStatistics() - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
Reset packet and latency statistics
- resetStats() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- resetWhiteList() - Static method in class org.apache.zookeeper.server.command.FourLetterCommands
-
- respondToServer(byte[], ClientCnxn) - Method in class org.apache.zookeeper.client.ZooKeeperSaslClient
-
- restartLeaderElection(QuorumVerifier, QuorumVerifier) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- restore(DataTree, Map<Long, Integer>, FileTxnSnapLog.PlayBackListener) - Method in class org.apache.zookeeper.server.persistence.FileTxnSnapLog
-
this function restores the server
database after reading from the
snapshots and transaction logs
- revalidate(QuorumPacket) - Method in class org.apache.zookeeper.server.quorum.Learner
-
- revalidateSession(ServerCnxn, long, int) - Method in class org.apache.zookeeper.server.quorum.LeaderZooKeeperServer
-
- revalidateSession(ServerCnxn, long, int) - Method in class org.apache.zookeeper.server.quorum.LearnerZooKeeperServer
-
- revalidateSession(ServerCnxn, long, int) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- REVISION - Static variable in interface org.apache.zookeeper.version.Info
-
- REVISION_HASH - Static variable in interface org.apache.zookeeper.version.Info
-
- rollLog() - Method in class org.apache.zookeeper.server.persistence.FileTxnLog
-
rollover the current log file to a new one.
- rollLog() - Method in class org.apache.zookeeper.server.persistence.FileTxnSnapLog
-
roll the transaction logs
- rollLog() - Method in interface org.apache.zookeeper.server.persistence.TxnLog
-
roll the current
log being appended to
- rollLog() - Method in class org.apache.zookeeper.server.ZKDatabase
-
roll the underlying log
- run(ZooKeeperServer, Map<String, String>) - Method in interface org.apache.zookeeper.server.admin.Command
-
Run this command.
- run(ZooKeeperServer, Map<String, String>) - Method in class org.apache.zookeeper.server.admin.Commands.CnxnStatResetCommand
-
- run(ZooKeeperServer, Map<String, String>) - Method in class org.apache.zookeeper.server.admin.Commands.ConfCommand
-
- run(ZooKeeperServer, Map<String, String>) - Method in class org.apache.zookeeper.server.admin.Commands.ConsCommand
-
- run(ZooKeeperServer, Map<String, String>) - Method in class org.apache.zookeeper.server.admin.Commands.DirsCommand
-
- run(ZooKeeperServer, Map<String, String>) - Method in class org.apache.zookeeper.server.admin.Commands.DumpCommand
-
- run(ZooKeeperServer, Map<String, String>) - Method in class org.apache.zookeeper.server.admin.Commands.EnvCommand
-
- run(ZooKeeperServer, Map<String, String>) - Method in class org.apache.zookeeper.server.admin.Commands.GetTraceMaskCommand
-
- run(ZooKeeperServer, Map<String, String>) - Method in class org.apache.zookeeper.server.admin.Commands.IsroCommand
-
- run(ZooKeeperServer, Map<String, String>) - Method in class org.apache.zookeeper.server.admin.Commands.MonitorCommand
-
- run(ZooKeeperServer, Map<String, String>) - Method in class org.apache.zookeeper.server.admin.Commands.RuokCommand
-
- run(ZooKeeperServer, Map<String, String>) - Method in class org.apache.zookeeper.server.admin.Commands.SetTraceMaskCommand
-
- run(ZooKeeperServer, Map<String, String>) - Method in class org.apache.zookeeper.server.admin.Commands.SrvrCommand
-
- run(ZooKeeperServer, Map<String, String>) - Method in class org.apache.zookeeper.server.admin.Commands.StatCommand
-
- run(ZooKeeperServer, Map<String, String>) - Method in class org.apache.zookeeper.server.admin.Commands.StatResetCommand
-
- run(ZooKeeperServer, Map<String, String>) - Method in class org.apache.zookeeper.server.admin.Commands.WatchCommand
-
- run(ZooKeeperServer, Map<String, String>) - Method in class org.apache.zookeeper.server.admin.Commands.WatchesByPathCommand
-
- run(ZooKeeperServer, Map<String, String>) - Method in class org.apache.zookeeper.server.admin.Commands.WatchSummaryCommand
-
- run() - Method in class org.apache.zookeeper.server.command.AbstractFourLetterCommand
-
- run() - Method in class org.apache.zookeeper.server.PrepRequestProcessor
-
- run() - Method in class org.apache.zookeeper.server.quorum.CommitProcessor
-
- run() - Method in class org.apache.zookeeper.server.quorum.FollowerRequestProcessor
-
- run() - Method in class org.apache.zookeeper.server.quorum.LearnerHandler
-
This thread will receive packets from the peer and process them and
also listen to new connections from new peers.
- run() - Method in class org.apache.zookeeper.server.quorum.ObserverRequestProcessor
-
- run() - Method in class org.apache.zookeeper.server.quorum.QuorumCnxManager.Listener
-
Sleeps on accept().
- run() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- run() - Method in class org.apache.zookeeper.server.quorum.ReadOnlyRequestProcessor
-
- run() - Method in class org.apache.zookeeper.server.SessionTrackerImpl
-
- run(String) - Method in class org.apache.zookeeper.server.SnapshotFormatter
-
- run() - Method in class org.apache.zookeeper.server.SyncRequestProcessor
-
- run() - Method in class org.apache.zookeeper.Shell
-
check to see if a command needs to be executed and execute if needed
- runCommand(String, ZooKeeperServer, Map<String, String>) - Static method in class org.apache.zookeeper.server.admin.Commands
-
Run the registered command with name cmdName.
- 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
-
- RuntimeInconsistencyException() - Constructor for exception org.apache.zookeeper.KeeperException.RuntimeInconsistencyException
-
- ruok(String, int) - Static method in class org.apache.zookeeper.ServerAdminClient
-
- ruokCmd - Static variable in class org.apache.zookeeper.server.command.FourLetterCommands
-
- RuokCommand() - Constructor for class org.apache.zookeeper.server.admin.Commands.RuokCommand
-
- RuokCommand - Class in org.apache.zookeeper.server.command
-
- RuokCommand(PrintWriter, ServerCnxn) - Constructor for class org.apache.zookeeper.server.command.RuokCommand
-
- sasl - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
-
- SASLAuthenticationProvider - Class in org.apache.zookeeper.server.auth
-
- SASLAuthenticationProvider() - Constructor for class org.apache.zookeeper.server.auth.SASLAuthenticationProvider
-
- SaslClientCallbackHandler - Class in org.apache.zookeeper
-
This is used by the SASL mechanisms to get further information to complete
the authentication.
- SaslClientCallbackHandler(String, String) - Constructor for class org.apache.zookeeper.SaslClientCallbackHandler
-
- saslCompleted() - Method in class org.apache.zookeeper.ClientCnxn
-
- SaslQuorumAuthLearner - Class in org.apache.zookeeper.server.quorum.auth
-
- SaslQuorumAuthLearner(boolean, String, String) - Constructor for class org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthLearner
-
- SaslQuorumAuthServer - Class in org.apache.zookeeper.server.quorum.auth
-
- SaslQuorumAuthServer(boolean, String, Set<String>) - Constructor for class org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthServer
-
- SaslQuorumServerCallbackHandler - Class in org.apache.zookeeper.server.quorum.auth
-
This is used by the SASL mechanisms to get further information to complete
the authentication.
- SaslQuorumServerCallbackHandler(Configuration, String, Set<String>) - Constructor for class org.apache.zookeeper.server.quorum.auth.SaslQuorumServerCallbackHandler
-
- SaslServerCallbackHandler - Class in org.apache.zookeeper.server.auth
-
- SaslServerCallbackHandler(Configuration) - Constructor for class org.apache.zookeeper.server.auth.SaslServerCallbackHandler
-
- saslServerCallbackHandler - Variable in class org.apache.zookeeper.server.ServerCnxnFactory
-
- SaslServerPrincipal - Class in org.apache.zookeeper
-
Computes the Server Principal for a SASL client.
- SaslServerPrincipal() - Constructor for class org.apache.zookeeper.SaslServerPrincipal
-
- save(DataTree, ConcurrentHashMap<Long, Integer>) - Method in class org.apache.zookeeper.server.persistence.FileTxnSnapLog
-
save the datatree and the sessions into a snapshot
- schedule(WorkerService.WorkRequest) - Method in class org.apache.zookeeper.server.WorkerService
-
Schedule work to be done.
- schedule(WorkerService.WorkRequest, long) - Method in class org.apache.zookeeper.server.WorkerService
-
Schedule work to be done by the thread assigned to this id.
- secure - Variable in class org.apache.zookeeper.server.ServerCnxnFactory
-
- SECURE_CLIENT - Static variable in class org.apache.zookeeper.client.ZKClientConfig
-
Setting this to "true" will enable encrypted client-server communication.
- SECURE_CLIENT - Static variable in class org.apache.zookeeper.ZooKeeper
-
- secureClientPortAddress - Variable in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- secureClientPortAddress - Variable in class org.apache.zookeeper.server.ServerConfig
-
- secureServerCnxnFactory - Variable in class org.apache.zookeeper.server.ZooKeeperServer
-
- SecurityUtils - Class in org.apache.zookeeper.util
-
- SecurityUtils() - Constructor for class org.apache.zookeeper.util.SecurityUtils
-
- self - Variable in class org.apache.zookeeper.server.quorum.LeaderElection
-
Deprecated.
- self - Variable in class org.apache.zookeeper.server.quorum.QuorumZooKeeperServer
-
- self - Variable in class org.apache.zookeeper.server.quorum.ReadOnlyZooKeeperServer
-
- send4LetterWord(String, int, String) - Static method in class org.apache.zookeeper.client.FourLetterWordMain
-
Send the 4letterword
- send4LetterWord(String, int, String, boolean) - Static method in class org.apache.zookeeper.client.FourLetterWordMain
-
Send the 4letterword
- send4LetterWord(String, int, String, boolean, int) - Static method in class org.apache.zookeeper.client.FourLetterWordMain
-
Send the 4letterword
- SendAckRequestProcessor - Class in org.apache.zookeeper.server.quorum
-
- sendBuffer(ByteBuffer) - Method in class org.apache.zookeeper.server.NettyServerCnxn
-
- sendBuffer(ByteBuffer) - Method in class org.apache.zookeeper.server.NIOServerCnxn
-
sendBuffer pushes a byte buffer onto the outgoing buffer queue for
asynchronous writes.
- sendCloseSession() - Method in class org.apache.zookeeper.server.NettyServerCnxn
-
Send close connection packet to the client.
- sendCloseSession() - Method in class org.apache.zookeeper.server.NIOServerCnxn
-
- sendPacket(Record, Record, AsyncCallback, int) - Method in class org.apache.zookeeper.ClientCnxn
-
- sendResponse(ReplyHeader, Record, String) - Method in class org.apache.zookeeper.server.NettyServerCnxn
-
- sendResponse(ReplyHeader, Record, String) - Method in class org.apache.zookeeper.server.NIOServerCnxn
-
- sendResponse(ReplyHeader, Record, String) - Method in class org.apache.zookeeper.server.ServerCnxn
-
- sendSync(LearnerSyncRequest) - Method in class org.apache.zookeeper.server.quorum.Leader
-
Sends a sync message to the appropriate server
- sendUrgentData(int) - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- serialize(OutputArchive, String) - Method in class org.apache.zookeeper.MultiResponse
-
- serialize(OutputArchive, String) - Method in class org.apache.zookeeper.MultiTransactionRecord
-
- serialize(OutputArchive, String) - Method in class org.apache.zookeeper.server.DataNode
-
- serialize(OutputArchive, String) - Method in class org.apache.zookeeper.server.DataTree
-
- serialize(DataTree, Map<Long, Integer>, OutputArchive, FileHeader) - Method in class org.apache.zookeeper.server.persistence.FileSnap
-
serialize the datatree and sessions
- serialize(DataTree, Map<Long, Integer>, File) - Method in class org.apache.zookeeper.server.persistence.FileSnap
-
serialize the datatree and session into the file snapshot
- serialize(DataTree, Map<Long, Integer>, File) - Method in interface org.apache.zookeeper.server.persistence.SnapShot
-
persist the datatree and the sessions into a persistence storage
- serialize(OutputArchive) - Method in class org.apache.zookeeper.server.ReferenceCountedACLCache
-
- serializeNodeData(OutputArchive, String, DataNode) - Method in class org.apache.zookeeper.server.DataTree
-
- serializeRequest(Request) - Static method in class org.apache.zookeeper.server.util.SerializeUtils
-
- serializeSnapshot(DataTree, OutputArchive, Map<Long, Integer>) - Static method in class org.apache.zookeeper.server.util.SerializeUtils
-
- serializeSnapshot(OutputArchive) - Method in class org.apache.zookeeper.server.ZKDatabase
-
serialize the snapshot
- SerializeUtils - Class in org.apache.zookeeper.server.util
-
- SerializeUtils() - Constructor for class org.apache.zookeeper.server.util.SerializeUtils
-
- SERVER_PACKET_TRACE_MASK - Static variable in class org.apache.zookeeper.server.ZooTrace
-
- SERVER_PING_TRACE_MASK - Static variable in class org.apache.zookeeper.server.ZooTrace
-
- ServerAdminClient - Class in org.apache.zookeeper
-
- ServerAdminClient() - Constructor for class org.apache.zookeeper.ServerAdminClient
-
- ServerBean - Class in org.apache.zookeeper.server.quorum
-
An abstract base class for the leader and follower MBeans.
- ServerBean() - Constructor for class org.apache.zookeeper.server.quorum.ServerBean
-
- serverCnxn - Variable in class org.apache.zookeeper.server.command.AbstractFourLetterCommand
-
- ServerCnxn - Class in org.apache.zookeeper.server
-
Interface to a Server connection - represents a connection from a client
to the server.
- ServerCnxn() - Constructor for class org.apache.zookeeper.server.ServerCnxn
-
- ServerCnxn.CloseRequestException - Exception in org.apache.zookeeper.server
-
- ServerCnxn.EndOfStreamException - Exception in org.apache.zookeeper.server
-
- ServerCnxnFactory - Class in org.apache.zookeeper.server
-
- ServerCnxnFactory() - Constructor for class org.apache.zookeeper.server.ServerCnxnFactory
-
- serverCnxnFactory - Variable in class org.apache.zookeeper.server.ZooKeeperServer
-
- ServerConfig - Class in org.apache.zookeeper.server
-
Server configuration storage.
- ServerConfig() - Constructor for class org.apache.zookeeper.server.ServerConfig
-
- serverId - Variable in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- ServerMXBean - Interface in org.apache.zookeeper.server.quorum
-
A quorum server MBean.
- ServerSaslResponseCallback() - Constructor for class org.apache.zookeeper.client.ZooKeeperSaslClient.ServerSaslResponseCallback
-
- serverStats() - Method in class org.apache.zookeeper.server.NettyServerCnxn
-
- serverStats() - Method in class org.apache.zookeeper.server.NIOServerCnxn
-
- serverStats() - Method in class org.apache.zookeeper.server.ServerCnxn
-
- ServerStats - Class in org.apache.zookeeper.server
-
Basic Server Statistics
- ServerStats(ServerStats.Provider) - Constructor for class org.apache.zookeeper.server.ServerStats
-
- serverStats() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- ServerStats.Provider - Interface in org.apache.zookeeper.server
-
- SESSION_TRACE_MASK - Static variable in class org.apache.zookeeper.server.ZooTrace
-
- SessionExpired - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
-
- SessionExpiredException() - Constructor for exception org.apache.zookeeper.KeeperException.SessionExpiredException
-
- sessionId - Variable in class org.apache.zookeeper.server.Request
-
- SessionMovedException() - Constructor for exception org.apache.zookeeper.KeeperException.SessionMovedException
-
- sessionsById - Variable in class org.apache.zookeeper.server.SessionTrackerImpl
-
- sessionsWithTimeouts - Variable in class org.apache.zookeeper.server.ZKDatabase
-
- SessionTracker - Interface in org.apache.zookeeper.server
-
This is the basic interface that ZooKeeperServer uses to track sessions.
- sessionTracker - Variable in class org.apache.zookeeper.server.ZooKeeperServer
-
- SessionTracker.Session - Interface in org.apache.zookeeper.server
-
- SessionTracker.SessionExpirer - Interface in org.apache.zookeeper.server
-
- SessionTrackerImpl - Class in org.apache.zookeeper.server
-
This is a full featured SessionTracker.
- SessionTrackerImpl(SessionTracker.SessionExpirer, ConcurrentMap<Long, Integer>, int, long, ZooKeeperServerListener) - Constructor for class org.apache.zookeeper.server.SessionTrackerImpl
-
- SessionTrackerImpl.SessionImpl - Class in org.apache.zookeeper.server
-
- SET_GROUP_COMMAND - Static variable in class org.apache.zookeeper.Shell
-
- SET_OWNER_COMMAND - Static variable in class org.apache.zookeeper.Shell
-
a Unix command to set owner
- SET_PERMISSION_COMMAND - Static variable in class org.apache.zookeeper.Shell
-
a Unix command to set permission
- setAcceptedEpoch(long) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- setACL(String, List<ACL>, int) - Method in class org.apache.zookeeper.server.DataTree
-
- 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 aclVersion matches the acl version of the node.
- setACL(String, List<ACL>, int, AsyncCallback.StatCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
-
The asynchronous version of setACL.
- SetAclCommand - Class in org.apache.zookeeper.cli
-
setAcl command for cli.
- SetAclCommand() - Constructor for class org.apache.zookeeper.cli.SetAclCommand
-
- setBytes(long) - Method in class org.apache.zookeeper.StatsTrack
-
set teh bytes for this stat tracker.
- setChildren(HashSet<String>) - Method in class org.apache.zookeeper.server.DataNode
-
convenience method for setting the children for this datanode
- setClientCertificateChain(Certificate[]) - Method in class org.apache.zookeeper.server.NettyServerCnxn
-
- setClientCertificateChain(Certificate[]) - Method in class org.apache.zookeeper.server.NIOServerCnxn
-
- setClientCertificateChain(Certificate[]) - Method in class org.apache.zookeeper.server.ServerCnxn
-
- setCnxnFactory(ServerCnxnFactory) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- setCode(int) - Method in exception org.apache.zookeeper.KeeperException
-
- SetCommand - Class in org.apache.zookeeper.cli
-
set command for cli
- SetCommand() - Constructor for class org.apache.zookeeper.cli.SetCommand
-
- setConfigFileName(String) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- setConfiguration() - Static method in class org.apache.zookeeper.server.auth.KerberosName
-
Set the static configuration to get the rules.
- setCount(int) - Method in class org.apache.zookeeper.StatsTrack
-
set the count for this stat tracker.
- setCreateSessionTrackerServerId(int) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- setCurrentEpoch(long) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- setCurrentSize(long) - Method in class org.apache.zookeeper.server.persistence.FilePadding
-
- setCurrentVote(Vote) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- setCversionPzxid(String, int, long) - Method in class org.apache.zookeeper.server.DataTree
-
This method sets the Cversion and Pzxid for the specified node to the
values passed as arguments.
- setData(String, byte[], int) - Static method in class org.apache.zookeeper.Op
-
Constructs an update operation.
- setData(String, byte[], int, long, long) - Method in class org.apache.zookeeper.server.DataTree
-
- setData(String, byte[], int) - Method in class org.apache.zookeeper.Transaction
-
- 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.
- SetDataResult(Stat) - Constructor for class org.apache.zookeeper.OpResult.SetDataResult
-
- setElectionType(int) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Sets the election type
- setEnvironment(Map<String, String>) - Method in class org.apache.zookeeper.Shell
-
set the environment for the command
- setErr(PrintStream) - Method in class org.apache.zookeeper.cli.CliCommand
-
Set err printStream (usable for testing)
- setException(KeeperException) - Method in class org.apache.zookeeper.server.Request
-
- setFactory(ServerCnxnFactory) - Method in class org.apache.zookeeper.server.command.AbstractFourLetterCommand
-
- setFailCreate(boolean) - Static method in class org.apache.zookeeper.server.PrepRequestProcessor
-
method for tests to set failCreate
- setFirstPacket(boolean) - Method in class org.apache.zookeeper.server.quorum.LearnerHandler
-
For testing, we need to reset this value
- setFollower(Follower) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- setHdr(TxnHeader) - Method in class org.apache.zookeeper.server.Request
-
- setInitLimit(int) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Set the number of ticks that the initial synchronization phase can take
- setInstance(MBeanRegistry) - Static method in class org.apache.zookeeper.jmx.MBeanRegistry
-
Useful for unit tests.
- setKeepAlive(boolean) - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- setLastBufferSize(int) - Method in class org.apache.zookeeper.server.quorum.BufferStats
-
Updates statistics by setting the last buffer usage size.
- setlastProcessedZxid(long) - Method in class org.apache.zookeeper.server.ZKDatabase
-
the last processed zxid in the datatree
- setLastSeenQuorumVerifier(QuorumVerifier, boolean) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- setLeader(Leader) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- setLearnerType(QuorumPeer.LearnerType) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Sets the LearnerType
- setLocalSession(boolean) - Method in class org.apache.zookeeper.server.Request
-
- setLocalSessionFlag(Request) - Method in class org.apache.zookeeper.server.quorum.QuorumZooKeeperServer
-
- setLocalSessionFlag(Request) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
If the underlying Zookeeper server support local session, this method
will set a isLocalSession to true if a request is associated with
a local session.
- setMaxClientCnxnsPerHost(int) - Method in class org.apache.zookeeper.server.NettyServerCnxnFactory
-
Maximum number of connections allowed from particular host (ip)
- setMaxClientCnxnsPerHost(int) - Method in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
Maximum number of connections allowed from particular host (ip)
- setMaxClientCnxnsPerHost(int) - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
Maximum number of connections allowed from particular host (ip)
- setMaxClientCnxnsPerHost(int) - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- setMaxClientCnxnsPerHost(int) - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
Set maxClientCnxns allowed from a particular host
- setMaxSessionTimeout(int) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
maximum session timeout in milliseconds
- setMaxSessionTimeout(int) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- setMaxSessionTimeout(int) - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- setMaxSessionTimeout(int) - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
Set maxSessionTimeout of server in milliseconds
- setMinSessionTimeout(int) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
minimum session timeout in milliseconds
- setMinSessionTimeout(int) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- setMinSessionTimeout(int) - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- setMinSessionTimeout(int) - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
Set minSessionTimeout of server in milliseconds
- setMyid(long) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
set the id of this quorum peer.
- setObserver(Observer) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- setOOBInline(boolean) - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- setOut(PrintStream) - Method in class org.apache.zookeeper.cli.CliCommand
-
Set out printStream (usable for testing)
- setOwner(long, Object) - Method in class org.apache.zookeeper.server.quorum.LeaderSessionTracker
-
- setOwner(long, Object) - Method in class org.apache.zookeeper.server.quorum.LearnerSessionTracker
-
- setOwner(Object) - Method in class org.apache.zookeeper.server.Request
-
- setOwner(long, Object) - Method in interface org.apache.zookeeper.server.SessionTracker
-
- setOwner(long, Object) - Method in class org.apache.zookeeper.server.SessionTrackerImpl
-
- setOwner(long, Object) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
set the owner of this session as owner
- setPeerState(QuorumPeer.ServerState) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- setPerformancePreferences(int, int, int) - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- setPreallocSize(long) - Static method in class org.apache.zookeeper.server.persistence.FilePadding
-
method to allow setting preallocate size
of log file to pad the file.
- setPreallocSize(long) - Static method in class org.apache.zookeeper.server.persistence.FileTxnLog
-
method to allow setting preallocate size
of log file to pad the file.
- setProperty(String, String) - Method in class org.apache.zookeeper.common.ZKConfig
-
Maps the specified key
to the specified value
.
- setQuorumListenOnAllIPs(boolean) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- setQuorumServer(QuorumPeer.QuorumServer) - Method in class org.apache.zookeeper.server.quorum.RemotePeerBean
-
- setQuorumVerifier(QuorumVerifier, boolean) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- SetQuotaCommand - Class in org.apache.zookeeper.cli
-
setQuota command for cli
- SetQuotaCommand() - Constructor for class org.apache.zookeeper.cli.SetQuotaCommand
-
- setReceiveBufferSize(int) - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- setReconfigEnabled(boolean) - Static method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- setReuseAddress(boolean) - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- setSecureCnxnFactory(ServerCnxnFactory) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- setSecureServerCnxnFactory(ServerCnxnFactory) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- setSendBufferSize(int) - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- setServerCnxnFactory(ServerCnxnFactory) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- setServerStats(ServerStats) - Method in class org.apache.zookeeper.server.persistence.FileTxnLog
-
Setter for ServerStats to monitor fsync threshold exceed
- setServerStats(ServerStats) - Method in class org.apache.zookeeper.server.persistence.FileTxnSnapLog
-
- setServerStats(ServerStats) - Method in interface org.apache.zookeeper.server.persistence.TxnLog
-
Setter for ServerStats to monitor fsync threshold exceed
- setSessionClosing(long) - Method in class org.apache.zookeeper.server.quorum.LeaderSessionTracker
-
- setSessionClosing(long) - Method in class org.apache.zookeeper.server.quorum.LearnerSessionTracker
-
- setSessionClosing(long) - Method in interface org.apache.zookeeper.server.SessionTracker
-
Mark that the session is in the process of closing.
- setSessionClosing(long) - Method in class org.apache.zookeeper.server.SessionTrackerImpl
-
- setSessionId(long) - Method in class org.apache.zookeeper.server.NettyServerCnxn
-
- setSessionId(long) - Method in class org.apache.zookeeper.server.NIOServerCnxn
-
- setSessionTimeout(int) - Method in class org.apache.zookeeper.server.NettyServerCnxn
-
- setSessionTimeout(int) - Method in class org.apache.zookeeper.server.NIOServerCnxn
-
- setSnapCount(int) - Static method in class org.apache.zookeeper.server.SyncRequestProcessor
-
used by tests to check for changing
snapcounts
- setSnapshotSizeFactor(double) - Method in class org.apache.zookeeper.server.ZKDatabase
-
Use for unit testing, so we can turn this feature on/off
- setSoLinger(boolean, int) - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- setSoTimeout(int) - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- setSslQuorum(boolean) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- setStandaloneEnabled(boolean) - Static method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- setState(ZooKeeperServer.State) - Method in class org.apache.zookeeper.server.quorum.QuorumZooKeeperServer
-
- setState(ZooKeeperServer.State) - Method in class org.apache.zookeeper.server.quorum.ReadOnlyZooKeeperServer
-
- setState(ZooKeeperServer.State) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
Sets the state of ZooKeeper server.
- setSyncEnabled(boolean) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Set syncEnabled.
- setSyncLimit(int) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Set the synclimit
- setTcpNoDelay(boolean) - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- setTextTraceLevel(long) - Static method in class org.apache.zookeeper.server.ZooTrace
-
- setTickTime(int) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Set the number of milliseconds of each tick
- setTickTime(int) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- setTickTime(int) - Method in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- setTickTime(int) - Method in interface org.apache.zookeeper.server.ZooKeeperServerMXBean
-
Set TickTime of server in milliseconds
- setTraceMask(String, int, String) - Static method in class org.apache.zookeeper.ServerAdminClient
-
- setTraceMaskCmd - Static variable in class org.apache.zookeeper.server.command.FourLetterCommands
-
- SetTraceMaskCommand() - Constructor for class org.apache.zookeeper.server.admin.Commands.SetTraceMaskCommand
-
- SetTraceMaskCommand - Class in org.apache.zookeeper.server.command
-
- SetTraceMaskCommand(PrintWriter, ServerCnxn, long) - Constructor for class org.apache.zookeeper.server.command.SetTraceMaskCommand
-
- setTrafficClass(int) - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- setTxn(Record) - Method in class org.apache.zookeeper.server.Request
-
- setTxnFactory(FileTxnSnapLog) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- setTxnLogFactory(FileTxnSnapLog) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- setupRequestProcessors() - Method in class org.apache.zookeeper.server.quorum.FollowerZooKeeperServer
-
- setupRequestProcessors() - Method in class org.apache.zookeeper.server.quorum.LeaderZooKeeperServer
-
- setupRequestProcessors() - Method in class org.apache.zookeeper.server.quorum.ObserverZooKeeperServer
-
Set up the request processors for an Observer:
firstProcesor->commitProcessor->finalProcessor
- setupRequestProcessors() - Method in class org.apache.zookeeper.server.quorum.ReadOnlyZooKeeperServer
-
- setupRequestProcessors() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- setUsePortUnification(boolean) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- setVersion(long) - Method in class org.apache.zookeeper.server.quorum.flexible.QuorumHierarchical
-
- setVersion(long) - Method in class org.apache.zookeeper.server.quorum.flexible.QuorumMaj
-
- setVersion(long) - Method in interface org.apache.zookeeper.server.quorum.flexible.QuorumVerifier
-
- setWatches(long, List<String>, List<String>, List<String>, Watcher) - Method in class org.apache.zookeeper.server.DataTree
-
- setWatches(long, List<String>, List<String>, List<String>, Watcher) - Method in class org.apache.zookeeper.server.ZKDatabase
-
set watches on the datatree
- setWatches - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
-
- setWorkingDirectory(File) - Method in class org.apache.zookeeper.Shell
-
set the working directory
- setZk(ZooKeeper) - Method in class org.apache.zookeeper.cli.CliCommand
-
set the zookeeper instance
- setZKDatabase(ZKDatabase) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
set zk database for this node
- setZKDatabase(ZKDatabase) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
set the zkdatabase for this zookeeper server
- setZkServer(ZooKeeperServer) - Method in class org.apache.zookeeper.server.command.AbstractFourLetterCommand
-
- setZooKeeperServer(ZooKeeperServer) - Method in interface org.apache.zookeeper.server.admin.AdminServer
-
- setZooKeeperServer(ZooKeeperServer) - Method in class org.apache.zookeeper.server.admin.DummyAdminServer
-
- setZooKeeperServer(ZooKeeperServer) - Method in class org.apache.zookeeper.server.admin.JettyAdminServer
-
Set the ZooKeeperServer that will be used to run Commands.
- setZooKeeperServer(ZooKeeperServer) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- setZooKeeperServer(ZooKeeperServer) - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- setZxid(long) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- Shell - Class in org.apache.zookeeper
-
A base class for running a Unix command.
- Shell() - Constructor for class org.apache.zookeeper.Shell
-
- Shell(long) - Constructor for class org.apache.zookeeper.Shell
-
- Shell.ExitCodeException - Exception in org.apache.zookeeper
-
This is an IOException with exit code added.
- Shell.ShellCommandExecutor - Class in org.apache.zookeeper
-
A simple shell command executor.
- ShellCommandExecutor(String[]) - Constructor for class org.apache.zookeeper.Shell.ShellCommandExecutor
-
- ShellCommandExecutor(String[], File) - Constructor for class org.apache.zookeeper.Shell.ShellCommandExecutor
-
- ShellCommandExecutor(String[], File, Map<String, String>) - Constructor for class org.apache.zookeeper.Shell.ShellCommandExecutor
-
- ShellCommandExecutor(String[], File, Map<String, String>, long) - Constructor for class org.apache.zookeeper.Shell.ShellCommandExecutor
-
Create a new instance of the ShellCommandExecutor to execute a command.
- shouldAddWatch(int) - Method in class org.apache.zookeeper.ZooKeeper.WatchRegistration
-
Determine whether the watch should be added based on return code.
- shouldThrottle(long) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- shouldUsePortUnification() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- shouldUsePortUnification - Variable in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- shouldUsePortUnification() - Method in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- shouldVerifyClientHostname() - Method in class org.apache.zookeeper.common.ClientX509Util
-
- shouldVerifyClientHostname() - Method in class org.apache.zookeeper.common.QuorumX509Util
-
- shouldVerifyClientHostname() - Method in class org.apache.zookeeper.common.X509Util
-
- shutdown() - Method in class org.apache.zookeeper.client.ZooKeeperSaslClient
-
close login thread if running
- shutdown() - Method in class org.apache.zookeeper.Login
-
- shutdown() - Method in interface org.apache.zookeeper.server.admin.AdminServer
-
- shutdown() - Method in class org.apache.zookeeper.server.admin.DummyAdminServer
-
- shutdown() - Method in class org.apache.zookeeper.server.admin.JettyAdminServer
-
Stop the embedded Jetty server.
- shutdown() - Method in class org.apache.zookeeper.server.DatadirCleanupManager
-
Shutdown the purge task.
- shutdown() - Method in class org.apache.zookeeper.server.FinalRequestProcessor
-
- shutdown() - Method in class org.apache.zookeeper.server.NettyServerCnxnFactory
-
- shutdown() - Method in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
- shutdown() - Method in class org.apache.zookeeper.server.PrepRequestProcessor
-
- shutdown() - Method in class org.apache.zookeeper.server.quorum.AuthFastLeaderElection
-
Deprecated.
There is nothing to shutdown in this implementation of
leader election, so we simply have an empty method.
- shutdown() - Method in class org.apache.zookeeper.server.quorum.CommitProcessor
-
- shutdown() - Method in interface org.apache.zookeeper.server.quorum.Election
-
- shutdown() - Method in class org.apache.zookeeper.server.quorum.FastLeaderElection
-
- shutdown() - Method in class org.apache.zookeeper.server.quorum.Follower
-
- shutdown() - Method in class org.apache.zookeeper.server.quorum.FollowerRequestProcessor
-
- shutdown() - Method in class org.apache.zookeeper.server.quorum.LeaderElection
-
Deprecated.
There is nothing to shutdown in this implementation of
leader election, so we simply have an empty method.
- shutdown() - Method in class org.apache.zookeeper.server.quorum.LeaderRequestProcessor
-
- shutdown() - Method in class org.apache.zookeeper.server.quorum.LeaderSessionTracker
-
- shutdown() - Method in class org.apache.zookeeper.server.quorum.LeaderZooKeeperServer
-
- shutdown() - Method in class org.apache.zookeeper.server.quorum.Learner
-
Shutdown the Peer
- shutdown() - Method in class org.apache.zookeeper.server.quorum.LearnerHandler
-
- shutdown() - Method in class org.apache.zookeeper.server.quorum.LearnerSessionTracker
-
- shutdown() - Method in class org.apache.zookeeper.server.quorum.LearnerZooKeeperServer
-
- shutdown() - Method in class org.apache.zookeeper.server.quorum.Observer
-
Shutdown the Observer.
- shutdown() - Method in class org.apache.zookeeper.server.quorum.ObserverRequestProcessor
-
Shutdown the processor.
- shutdown() - Method in class org.apache.zookeeper.server.quorum.ObserverZooKeeperServer
-
- shutdown() - Method in class org.apache.zookeeper.server.quorum.ProposalRequestProcessor
-
- shutdown() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- shutdown() - Method in class org.apache.zookeeper.server.quorum.ReadOnlyRequestProcessor
-
- shutdown() - Method in class org.apache.zookeeper.server.quorum.ReadOnlyZooKeeperServer
-
- shutdown() - Method in class org.apache.zookeeper.server.quorum.SendAckRequestProcessor
-
- shutdown() - Method in interface org.apache.zookeeper.server.RequestProcessor
-
- shutdown() - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- shutdown() - Method in interface org.apache.zookeeper.server.SessionTracker
-
- shutdown() - Method in class org.apache.zookeeper.server.SessionTrackerImpl
-
- shutdown() - Method in class org.apache.zookeeper.server.SyncRequestProcessor
-
- shutdown() - Method in class org.apache.zookeeper.server.UnimplementedRequestProcessor
-
- shutdown() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- shutdown(boolean) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
Shut down the server instance
- shutdown() - Method in class org.apache.zookeeper.server.ZooKeeperServerMain
-
Shutdown the serving instance
- shutdownInput() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- shutdownOutput() - Method in class org.apache.zookeeper.server.quorum.UnifiedServerSocket.UnifiedSocket
-
- sid - Variable in class org.apache.zookeeper.server.quorum.LearnerHandler
-
ZooKeeper server identifier of this learner
- sid - Variable in class org.apache.zookeeper.server.quorum.QuorumCnxManager.InitialMessage
-
- size() - Method in interface org.apache.zookeeper.client.HostProvider
-
- size() - Method in class org.apache.zookeeper.client.StaticHostProvider
-
- size() - Method in class org.apache.zookeeper.MultiResponse
-
- size() - Method in class org.apache.zookeeper.MultiTransactionRecord
-
- size() - Method in class org.apache.zookeeper.server.ReferenceCountedACLCache
-
- skip(long) - Method in class org.apache.zookeeper.server.ByteBufferInputStream
-
- SNAP_MAGIC - Static variable in class org.apache.zookeeper.server.persistence.FileSnap
-
- SnapDirContentCheckException(String) - Constructor for exception org.apache.zookeeper.server.persistence.FileTxnSnapLog.SnapDirContentCheckException
-
- snapLog - Variable in class org.apache.zookeeper.server.ZKDatabase
-
- snapRetainCount - Variable in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- SnapShot - Interface in org.apache.zookeeper.server.persistence
-
snapshot interface for the persistence layer.
- snapshot() - Method in class org.apache.zookeeper.server.quorum.LearnerSessionTracker
-
- SNAPSHOT_FILE_PREFIX - Static variable in class org.apache.zookeeper.server.persistence.FileSnap
-
- SNAPSHOT_SIZE_FACTOR - Static variable in class org.apache.zookeeper.server.ZKDatabase
-
Default value is to use snapshot if txnlog size exceeds 1/3 the size of snapshot
- SnapshotFormatter - Class in org.apache.zookeeper.server
-
Dump a snapshot file to stdout.
- SnapshotFormatter() - Constructor for class org.apache.zookeeper.server.SnapshotFormatter
-
- SnapshotThrottleException - Exception in org.apache.zookeeper.server.quorum
-
Thrown when a
Leader
has too many concurrent snapshots being sent
to observers.
- SnapshotThrottleException(int, int) - Constructor for exception org.apache.zookeeper.server.quorum.SnapshotThrottleException
-
- sock - Variable in class org.apache.zookeeper.server.quorum.Learner
-
- sock - Variable in class org.apache.zookeeper.server.quorum.LearnerHandler
-
- sockConnect(Socket, InetSocketAddress, int) - Method in class org.apache.zookeeper.server.quorum.Learner
-
Overridable helper method to simply call sock.connect().
- softHalt() - Method in class org.apache.zookeeper.server.quorum.QuorumCnxManager
-
A soft halt simply finishes workers.
- sortDataDir(File[], String, boolean) - Static method in class org.apache.zookeeper.server.persistence.Util
-
Sort the list of files.
- split(String, String) - Static method in class org.apache.zookeeper.common.StringUtils
-
This method returns an immutable List, but different from String's split()
it trims the results in the input String, and removes any empty string from
the resulting List.
- srstCmd - Static variable in class org.apache.zookeeper.server.command.FourLetterCommands
-
- srvrCmd - Static variable in class org.apache.zookeeper.server.command.FourLetterCommands
-
- SrvrCommand() - Constructor for class org.apache.zookeeper.server.admin.Commands.SrvrCommand
-
- SrvrCommand(List<String>) - Constructor for class org.apache.zookeeper.server.admin.Commands.SrvrCommand
-
- SSLContextAndOptions - Class in org.apache.zookeeper.common
-
Wrapper class for an SSLContext + some config options that can't be set on the context when it is created but
must be set on a secure socket created by the context after the socket creation.
- SSLContextException(String) - Constructor for exception org.apache.zookeeper.common.X509Exception.SSLContextException
-
- SSLContextException(Throwable) - Constructor for exception org.apache.zookeeper.common.X509Exception.SSLContextException
-
- SSLContextException(String, Throwable) - Constructor for exception org.apache.zookeeper.common.X509Exception.SSLContextException
-
- sslQuorum - Variable in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- sslQuorumReloadCertFiles - Variable in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- STANDALONE_SERVER_KEY - Static variable in class org.apache.zookeeper.jmx.CommonNames
-
- start() - Method in class org.apache.zookeeper.ClientCnxn
-
- start() - Method in class org.apache.zookeeper.common.FileChangeWatcher
-
Tells the background thread to start.
- start() - Method in interface org.apache.zookeeper.server.admin.AdminServer
-
- start() - Method in class org.apache.zookeeper.server.admin.DummyAdminServer
-
- start() - Method in class org.apache.zookeeper.server.admin.JettyAdminServer
-
Start the embedded Jetty server.
- start() - Method in class org.apache.zookeeper.server.command.AbstractFourLetterCommand
-
- start() - Method in class org.apache.zookeeper.server.ContainerManager
-
start/restart the timer the runs the check.
- start() - Method in class org.apache.zookeeper.server.DatadirCleanupManager
-
Validates the purge configuration and schedules the purge task.
- start() - Method in class org.apache.zookeeper.server.NettyServerCnxnFactory
-
- start() - Method in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
- start() - Method in class org.apache.zookeeper.server.quorum.CommitProcessor
-
- start() - Method in class org.apache.zookeeper.server.quorum.FastLeaderElection
-
This method starts the sender and receiver threads.
- start() - Method in class org.apache.zookeeper.server.quorum.LeaderSessionTracker
-
- start() - Method in class org.apache.zookeeper.server.quorum.LearnerSessionTracker
-
- start() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- start() - Method in class org.apache.zookeeper.server.quorum.UpgradeableSessionTracker
-
- start() - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- start() - Method in class org.apache.zookeeper.server.WorkerService
-
- start_fle - Variable in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- startdata() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- startForwarding(LearnerHandler, long) - Method in class org.apache.zookeeper.server.quorum.Leader
-
lets the leader know that a follower is capable of following and is done
syncing
- startLeaderElection() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- startSendingPackets() - Method in class org.apache.zookeeper.server.quorum.LearnerHandler
-
Start thread that will forward any packet in the queue to the follower
- startSessionTracker() - Method in class org.apache.zookeeper.server.quorum.QuorumZooKeeperServer
-
- startSessionTracker() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- startThreadIfNeeded() - Method in class org.apache.zookeeper.Login
-
- startup(ZooKeeperServer, boolean) - Method in class org.apache.zookeeper.server.NettyServerCnxnFactory
-
- startup(ZooKeeperServer, boolean) - Method in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
- startup() - Method in class org.apache.zookeeper.server.quorum.LeaderZooKeeperServer
-
- startup() - Method in class org.apache.zookeeper.server.quorum.ReadOnlyZooKeeperServer
-
- startup(ZooKeeperServer) - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- startup(ZooKeeperServer, boolean) - Method in class org.apache.zookeeper.server.ServerCnxnFactory
-
- startup() - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- stat - Variable in class org.apache.zookeeper.server.DataNode
-
the stat for this node that is persisted to disk.
- stat - Variable in class org.apache.zookeeper.server.DataTree.ProcessTxnResult
-
- stat(String, int) - Static method in class org.apache.zookeeper.ServerAdminClient
-
- statCmd - Static variable in class org.apache.zookeeper.server.command.FourLetterCommands
-
- StatCommand - Class in org.apache.zookeeper.cli
-
stat command for cli
- StatCommand() - Constructor for class org.apache.zookeeper.cli.StatCommand
-
- StatCommand() - Constructor for class org.apache.zookeeper.server.admin.Commands.StatCommand
-
- StatCommand - Class in org.apache.zookeeper.server.command
-
- StatCommand(PrintWriter, ServerCnxn, int) - Constructor for class org.apache.zookeeper.server.command.StatCommand
-
- state - Variable in class org.apache.zookeeper.server.ZooKeeperServer
-
- StateSummary - Class in org.apache.zookeeper.server.quorum
-
This class encapsulates the state comparison logic.
- StateSummary(long, long) - Constructor for class org.apache.zookeeper.server.quorum.StateSummary
-
- StaticHostProvider - Class in org.apache.zookeeper.client
-
Most simple HostProvider, resolves on every next() call.
- StaticHostProvider(Collection<InetSocketAddress>) - Constructor for class org.apache.zookeeper.client.StaticHostProvider
-
Constructs a SimpleHostSet.
- StaticHostProvider(Collection<InetSocketAddress>, StaticHostProvider.Resolver) - Constructor for class org.apache.zookeeper.client.StaticHostProvider
-
Constructs a SimpleHostSet.
- StaticHostProvider(Collection<InetSocketAddress>, long) - Constructor for class org.apache.zookeeper.client.StaticHostProvider
-
Constructs a SimpleHostSet.
- StaticHostProvider.Resolver - Interface in org.apache.zookeeper.client
-
- statNode - Static variable in class org.apache.zookeeper.Quotas
-
the stat node that monitors the limit of
a subtree.
- statNode(String, Watcher) - Method in class org.apache.zookeeper.server.DataTree
-
- statNode(String, ServerCnxn) - Method in class org.apache.zookeeper.server.ZKDatabase
-
stat the path
- statPath(String) - Static method in class org.apache.zookeeper.Quotas
-
return the stat quota path associated with this
prefix.
- StatPrinter - Class in org.apache.zookeeper.cli
-
utility for printing stat values s
- StatPrinter(PrintStream) - Constructor for class org.apache.zookeeper.cli.StatPrinter
-
- StatResetCommand() - Constructor for class org.apache.zookeeper.server.admin.Commands.StatResetCommand
-
- StatResetCommand - Class in org.apache.zookeeper.server.command
-
- StatResetCommand(PrintWriter, ServerCnxn) - Constructor for class org.apache.zookeeper.server.command.StatResetCommand
-
- StatsTrack - Class in org.apache.zookeeper
-
a class that represents the stats associated with quotas
- StatsTrack() - Constructor for class org.apache.zookeeper.StatsTrack
-
a default constructor for
stats
- StatsTrack(String) - Constructor for class org.apache.zookeeper.StatsTrack
-
the stat string should be of the form count=int,bytes=long
if stats is called with null the count and bytes are initialized
to -1.
- stop() - Method in class org.apache.zookeeper.common.FileChangeWatcher
-
Tells the background thread to stop.
- stop() - Method in class org.apache.zookeeper.server.ContainerManager
-
stop the timer if necessary.
- stop() - Method in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
- stop() - Method in class org.apache.zookeeper.server.WorkerService
-
- stopLeaderElection() - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
- stopped - Variable in class org.apache.zookeeper.server.quorum.CommitProcessor
-
- StringUtils - Class in org.apache.zookeeper.common
-
- submitLearnerRequest(Request) - Method in class org.apache.zookeeper.server.quorum.LeaderZooKeeperServer
-
Requests coming from the learner should go directly to
PrepRequestProcessor
- submitRequest(RequestHeader, Record, Record, ZooKeeper.WatchRegistration) - Method in class org.apache.zookeeper.ClientCnxn
-
- submitRequest(RequestHeader, Record, Record, ZooKeeper.WatchRegistration, WatchDeregistration) - Method in class org.apache.zookeeper.ClientCnxn
-
- submitRequest(Request) - Method in class org.apache.zookeeper.server.ZooKeeperServer
-
- sync() - Method in class org.apache.zookeeper.server.quorum.FollowerZooKeeperServer
-
- sync() - Method in class org.apache.zookeeper.server.quorum.ObserverZooKeeperServer
-
- sync - Static variable in interface org.apache.zookeeper.ZooDefs.OpCode
-
- sync(String, AsyncCallback.VoidCallback, Object) - Method in class org.apache.zookeeper.ZooKeeper
-
Asynchronous sync.
- SYNC_ENABLED - Static variable in class org.apache.zookeeper.server.quorum.QuorumPeer
-
The syncEnabled can also be set via a system property.
- SyncCommand - Class in org.apache.zookeeper.cli
-
sync command for cli
- SyncCommand() - Constructor for class org.apache.zookeeper.cli.SyncCommand
-
- synced() - Method in class org.apache.zookeeper.server.quorum.LearnerHandler
-
- SyncedLearnerTracker - Class in org.apache.zookeeper.server.quorum
-
- SyncedLearnerTracker() - Constructor for class org.apache.zookeeper.server.quorum.SyncedLearnerTracker
-
- SyncedLearnerTracker.QuorumVerifierAcksetPair - Class in org.apache.zookeeper.server.quorum
-
- syncEnabled - Variable in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Enables/Disables sync request processor.
- syncEnabled - Variable in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- syncFollower(long, ZKDatabase, Leader) - Method in class org.apache.zookeeper.server.quorum.LearnerHandler
-
Determine if we need to sync with follower using DIFF/TRUNC/SNAP
and setup follower to receive packets from commit processor
- syncLimit - Variable in class org.apache.zookeeper.server.quorum.QuorumPeer
-
The number of ticks that can pass between sending a request and getting
an acknowledgment
- syncLimit - Variable in class org.apache.zookeeper.server.quorum.QuorumPeerConfig
-
- syncProcessor - Variable in class org.apache.zookeeper.server.quorum.LearnerZooKeeperServer
-
- SyncRequestProcessor - Class in org.apache.zookeeper.server
-
This RequestProcessor logs requests to disk.
- SyncRequestProcessor(ZooKeeperServer, RequestProcessor) - Constructor for class org.apache.zookeeper.server.SyncRequestProcessor
-
- syncWithLeader(long) - Method in class org.apache.zookeeper.server.quorum.Learner
-
Finally, synchronize our history with the Leader.
- SystemError - Static variable in interface org.apache.zookeeper.KeeperException.CodeDeprecated
-
- SystemErrorException() - Constructor for exception org.apache.zookeeper.KeeperException.SystemErrorException
-
- validate(File) - Method in class org.apache.zookeeper.server.util.VerifyingFileFactory
-
- validatePath(String, boolean) - Static method in class org.apache.zookeeper.common.PathUtils
-
validate the provided znode path string
- validatePath(String) - Static method in class org.apache.zookeeper.common.PathUtils
-
Validate the provided znode path string
- validateServerId(long) - Static method in enum org.apache.zookeeper.server.EphemeralType
-
Make sure the given server ID is compatible with the current extended ephemeral setting
- validateTTL(CreateMode, long) - Static method in enum org.apache.zookeeper.server.EphemeralType
-
Utility to validate a create mode and a ttl
- valueOf(String) - Static method in enum org.apache.zookeeper.client.ZooKeeperSaslClient.SaslState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.zookeeper.common.FileChangeWatcher.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.zookeeper.common.KeyStoreFileType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.zookeeper.common.X509Util.ClientAuth
-
Returns the enum constant of this type with the specified name.
- 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.server.DatadirCleanupManager.PurgeTaskStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.zookeeper.server.EphemeralType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.zookeeper.server.EphemeralTypeEmulate353
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.zookeeper.server.quorum.auth.QuorumAuth.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.zookeeper.server.quorum.QuorumPeer.LearnerType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.zookeeper.server.quorum.QuorumPeer.ServerState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.zookeeper.server.ZooKeeperServer.State
-
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.Watcher.WatcherType
-
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.client.ZooKeeperSaslClient.SaslState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.zookeeper.common.FileChangeWatcher.State
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.zookeeper.common.KeyStoreFileType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.zookeeper.common.X509Util.ClientAuth
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- 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.server.DatadirCleanupManager.PurgeTaskStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.zookeeper.server.EphemeralType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.zookeeper.server.EphemeralTypeEmulate353
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.zookeeper.server.quorum.auth.QuorumAuth.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.zookeeper.server.quorum.QuorumPeer.LearnerType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.zookeeper.server.quorum.QuorumPeer.ServerState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.zookeeper.server.ZooKeeperServer.State
-
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.Watcher.WatcherType
-
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.
- VerGen - Class in org.apache.zookeeper.version.util
-
- VerGen() - Constructor for class org.apache.zookeeper.version.util.VerGen
-
- VerGen.Version - Class in org.apache.zookeeper.version.util
-
- VerifyingFileFactory - Class in org.apache.zookeeper.server.util
-
- VerifyingFileFactory(VerifyingFileFactory.Builder) - Constructor for class org.apache.zookeeper.server.util.VerifyingFileFactory
-
- VerifyingFileFactory.Builder - Class in org.apache.zookeeper.server.util
-
- VERSION - Static variable in class org.apache.zookeeper.server.persistence.FileTxnLog
-
- VERSION - Static variable in class org.apache.zookeeper.server.persistence.FileTxnSnapLog
-
- version - Static variable in class org.apache.zookeeper.server.persistence.FileTxnSnapLog
-
- version - Variable in class org.apache.zookeeper.server.quorum.LearnerHandler
-
- Version - Class in org.apache.zookeeper
-
- Version() - Constructor for class org.apache.zookeeper.Version
-
- Version() - Constructor for class org.apache.zookeeper.version.util.VerGen.Version
-
- viewContains(Long) - Method in class org.apache.zookeeper.server.quorum.QuorumPeer
-
Check if a node is in the current view.
- visitSubTreeDFS(ZooKeeper, String, boolean, AsyncCallback.StringCallback) - Static method in class org.apache.zookeeper.ZKUtil
-
Visits the subtree with root as given path and calls the passed callback with each znode
found during the search.
- vote - Variable in class org.apache.zookeeper.server.quorum.LeaderElection.ElectionResult
-
Deprecated.
- Vote - Class in org.apache.zookeeper.server.quorum
-
- Vote(long, long) - Constructor for class org.apache.zookeeper.server.quorum.Vote
-
- Vote(long, long, long) - Constructor for class org.apache.zookeeper.server.quorum.Vote
-
- Vote(long, long, long, long) - Constructor for class org.apache.zookeeper.server.quorum.Vote
-
- Vote(int, long, long, long, long, QuorumPeer.ServerState) - Constructor for class org.apache.zookeeper.server.quorum.Vote
-
- Vote(long, long, long, long, QuorumPeer.ServerState) - Constructor for class org.apache.zookeeper.server.quorum.Vote
-
- zk - Variable in class org.apache.zookeeper.cli.CliCommand
-
- zk - Variable in class org.apache.zookeeper.ZooKeeperMain
-
- ZK_NOT_SERVING - Static variable in class org.apache.zookeeper.server.command.AbstractFourLetterCommand
-
- ZK_SASL_CLIENT_CANONICALIZE_HOSTNAME - Static variable in class org.apache.zookeeper.client.ZKClientConfig
-
- ZK_SASL_CLIENT_CANONICALIZE_HOSTNAME_DEFAULT - Static variable in class org.apache.zookeeper.client.ZKClientConfig
-
- ZK_SASL_CLIENT_USERNAME - Static variable in class org.apache.zookeeper.client.ZKClientConfig
-
- ZK_SASL_CLIENT_USERNAME_DEFAULT - Static variable in class org.apache.zookeeper.client.ZKClientConfig
-
- ZKClientConfig - Class in org.apache.zookeeper.client
-
Handles client specific properties
- ZKClientConfig() - Constructor for class org.apache.zookeeper.client.ZKClientConfig
-
- ZKClientConfig(File) - Constructor for class org.apache.zookeeper.client.ZKClientConfig
-
- ZKClientConfig(String) - Constructor for class org.apache.zookeeper.client.ZKClientConfig
-
- ZKConfig - Class in org.apache.zookeeper.common
-
This class is a base class for the configurations of both client and server.
- ZKConfig() - Constructor for class org.apache.zookeeper.common.ZKConfig
-
properties, which are common to both client and server, are initialized
from system properties
- ZKConfig(String) - Constructor for class org.apache.zookeeper.common.ZKConfig
-
- ZKConfig(File) - Constructor for class org.apache.zookeeper.common.ZKConfig
-
- ZKDatabase - Class in org.apache.zookeeper.server
-
This class maintains the in memory database of zookeeper
server states that includes the sessions, datatree and the
committed logs.
- ZKDatabase(FileTxnSnapLog) - Constructor for class org.apache.zookeeper.server.ZKDatabase
-
the filetxnsnaplog that this zk database
maps to.
- ZKMBeanInfo - Interface in org.apache.zookeeper.jmx
-
Zookeeper MBean info interface.
- zks - Variable in class org.apache.zookeeper.server.ZooKeeperServerBean
-
- zkServer - Variable in class org.apache.zookeeper.server.command.AbstractFourLetterCommand
-
- zkServer - Variable in class org.apache.zookeeper.server.ServerCnxnFactory
-
- ZKTrustManager - Class in org.apache.zookeeper.common
-
A custom TrustManager that supports hostname verification via org.apache.http.conn.ssl.DefaultHostnameVerifier.
- ZKUtil - Class in org.apache.zookeeper
-
- ZKUtil() - Constructor for class org.apache.zookeeper.ZKUtil
-
- 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, ZKClientConfig) - 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, HostProvider) - 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, HostProvider, ZKClientConfig) - 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, boolean, ZKClientConfig) - 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, HostProvider) - 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, HostProvider, ZKClientConfig) - 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.WatchRegistration - Class in org.apache.zookeeper
-
Register a watcher for a particular path.
- ZOOKEEPER_CLIENT_CNXN_SOCKET - Static variable in class org.apache.zookeeper.client.ZKClientConfig
-
- ZOOKEEPER_CLIENT_CNXN_SOCKET - Static variable in class org.apache.zookeeper.ZooKeeper
-
- ZOOKEEPER_COMMIT_PROC_NUM_WORKER_THREADS - Static variable in class org.apache.zookeeper.server.quorum.CommitProcessor
-
Default: numCores
- ZOOKEEPER_COMMIT_PROC_SHUTDOWN_TIMEOUT - Static variable in class org.apache.zookeeper.server.quorum.CommitProcessor
-
Default worker pool shutdown timeout in ms: 5000 (5s)
- ZOOKEEPER_DATADIR_AUTOCREATE - Static variable in class org.apache.zookeeper.server.persistence.FileTxnSnapLog
-
- ZOOKEEPER_DATADIR_AUTOCREATE_DEFAULT - Static variable in class org.apache.zookeeper.server.persistence.FileTxnSnapLog
-
- ZOOKEEPER_NIO_DIRECT_BUFFER_BYTES - Static variable in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
Default: 64kB
- ZOOKEEPER_NIO_NUM_SELECTOR_THREADS - Static variable in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
With 500 connections to an observer with watchers firing on each, is
unable to exceed 1GigE rates with only 1 selector.
- ZOOKEEPER_NIO_NUM_WORKER_THREADS - Static variable in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
Default: 2 * numCores
- ZOOKEEPER_NIO_SESSIONLESS_CNXN_TIMEOUT - Static variable in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
Default sessionless connection timeout in ms: 10000 (10s)
- ZOOKEEPER_NIO_SHUTDOWN_TIMEOUT - Static variable in class org.apache.zookeeper.server.NIOServerCnxnFactory
-
Default worker pool shutdown timeout in ms: 5000 (5s)
- ZOOKEEPER_REQUEST_TIMEOUT - Static variable in class org.apache.zookeeper.client.ZKClientConfig
-
- ZOOKEEPER_REQUEST_TIMEOUT_DEFAULT - Static variable in class org.apache.zookeeper.client.ZKClientConfig
-
Feature is disabled by default.
- ZOOKEEPER_SERVER_CNXN_FACTORY - Static variable in class org.apache.zookeeper.server.ServerCnxnFactory
-
- ZOOKEEPER_SERVER_REALM - Static variable in class org.apache.zookeeper.client.ZKClientConfig
-
- ZooKeeperAdmin - Class in org.apache.zookeeper.admin
-
This is the main class for ZooKeeperAdmin client library.
- ZooKeeperAdmin(String, int, Watcher) - Constructor for class org.apache.zookeeper.admin.ZooKeeperAdmin
-
Create a ZooKeeperAdmin object which is used to perform dynamic reconfiguration
operations.
- ZooKeeperAdmin(String, int, Watcher, ZKClientConfig) - Constructor for class org.apache.zookeeper.admin.ZooKeeperAdmin
-
Create a ZooKeeperAdmin object which is used to perform dynamic reconfiguration
operations.
- ZooKeeperAdmin(String, int, Watcher, boolean) - Constructor for class org.apache.zookeeper.admin.ZooKeeperAdmin
-
Create a ZooKeeperAdmin object which is used to perform dynamic reconfiguration
operations.
- ZooKeeperCriticalThread - Class in org.apache.zookeeper.server
-
Represents critical thread.
- ZooKeeperCriticalThread(String, ZooKeeperServerListener) - Constructor for class org.apache.zookeeper.server.ZooKeeperCriticalThread
-
- 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
-
- ZooKeeperSaslClient - Class in org.apache.zookeeper.client
-
This class manages SASL authentication for the client.
- ZooKeeperSaslClient(String, ZKClientConfig) - Constructor for class org.apache.zookeeper.client.ZooKeeperSaslClient
-
- zooKeeperSaslClient - Variable in class org.apache.zookeeper.ClientCnxn
-
- ZooKeeperSaslClient.SaslState - Enum in org.apache.zookeeper.client
-
- ZooKeeperSaslClient.ServerSaslResponseCallback - Class in org.apache.zookeeper.client
-
- zooKeeperSaslServer - Variable in class org.apache.zookeeper.server.ServerCnxn
-
- ZooKeeperSaslServer - Class in org.apache.zookeeper.server
-
- ZooKeeperServer - Class in org.apache.zookeeper.server
-
This class implements a simple standalone ZooKeeperServer.
- ZooKeeperServer() - Constructor for class org.apache.zookeeper.server.ZooKeeperServer
-
Creates a ZooKeeperServer instance.
- ZooKeeperServer(FileTxnSnapLog, int, int, int, ZKDatabase) - Constructor for class org.apache.zookeeper.server.ZooKeeperServer
-
Creates a ZooKeeperServer instance.
- ZooKeeperServer(FileTxnSnapLog, int) - Constructor for class org.apache.zookeeper.server.ZooKeeperServer
-
creates a zookeeperserver instance.
- ZooKeeperServer(File, File, int) - Constructor for class org.apache.zookeeper.server.ZooKeeperServer
-
This constructor is for backward compatibility with the existing unit
test code.
- ZooKeeperServer(FileTxnSnapLog) - Constructor for class org.apache.zookeeper.server.ZooKeeperServer
-
Default constructor, relies on the config for its argument values
- ZooKeeperServer.MissingSessionException - Exception in org.apache.zookeeper.server
-
- ZooKeeperServer.State - Enum in org.apache.zookeeper.server
-
- ZooKeeperServerBean - Class in org.apache.zookeeper.server
-
This class implements the ZooKeeper server MBean interface.
- ZooKeeperServerBean(ZooKeeperServer) - Constructor for class org.apache.zookeeper.server.ZooKeeperServerBean
-
- ZooKeeperServerConf - Class in org.apache.zookeeper.server
-
- ZooKeeperServerListener - Interface in org.apache.zookeeper.server
-
Listener for the critical resource events.
- ZooKeeperServerMain - Class in org.apache.zookeeper.server
-
This class starts and runs a standalone ZooKeeperServer.
- ZooKeeperServerMain() - Constructor for class org.apache.zookeeper.server.ZooKeeperServerMain
-
- ZooKeeperServerMXBean - Interface in org.apache.zookeeper.server
-
ZooKeeper server MBean.
- ZooKeeperThread - Class in org.apache.zookeeper.server
-
This is the main class for catching all the uncaught exceptions thrown by the
threads.
- ZooKeeperThread(String) - Constructor for class org.apache.zookeeper.server.ZooKeeperThread
-
- ZooTrace - Class in org.apache.zookeeper.server
-
This class encapsulates and centralizes tracing for the ZooKeeper server.
- ZooTrace() - Constructor for class org.apache.zookeeper.server.ZooTrace
-
- zxid - Variable in class org.apache.zookeeper.server.DataTree.ProcessTxnResult
-
- zxid - Variable in class org.apache.zookeeper.server.Request
-
- zxidToString(long) - Static method in class org.apache.zookeeper.server.util.ZxidUtils
-
- ZxidUtils - Class in org.apache.zookeeper.server.util
-
- ZxidUtils() - Constructor for class org.apache.zookeeper.server.util.ZxidUtils
-