# Uses of Interface
org.apache.zookeeper.server.admin.Command

Packages that use Command
Package
Description
org.apache.zookeeper.server.admin

## Uses of Command in org.apache.zookeeper.server.admin

Classes in org.apache.zookeeper.server.admin that implement Command
Modifier and Type
Class
Description
`class`
`CommandBase`
`static class`
`Commands.CnxnStatResetCommand`
Reset all connection statistics.
`static class`
`Commands.ConfCommand`
Server configuration parameters.
`static class`
`Commands.ConsCommand`
Information on client connections to server.
`static class`
`Commands.DigestCommand`
Digest histories for every specific number of txns.
`static class`
`Commands.DirsCommand`
Information on ZK datadir and snapdir size in bytes
`static class`
`Commands.DumpCommand`
Information on session expirations and ephemerals.
`static class`
`Commands.EnvCommand`
All defined environment variables.
`static class`
`Commands.GetTraceMaskCommand`
The current trace mask.
`static class`
`Commands.InitialConfigurationCommand`
`static class`
`Commands.IsroCommand`
Is this server in read-only mode.
`static class`
`Commands.LastSnapshotCommand`
Command returns information of the last snapshot that zookeeper server has finished saving to disk.
`static class`
`Commands.LeaderCommand`
Returns the leader status of this instance and the leader host string.
`static class`
`Commands.MonitorCommand`
Some useful info for monitoring.
`static class`
`Commands.ObserverCnxnStatResetCommand`
Reset all observer connection statistics.
`static class`
`Commands.RestoreCommand`
Restore from snapshot on the current server.
`static class`
`Commands.RuokCommand`
No-op command, check if the server is running
`static class`
`Commands.SetTraceMaskCommand`
Sets the trace mask.
`static class`
`Commands.SnapshotCommand`
Take a snapshot of current server and stream out the data.
`static class`
`Commands.SrvrCommand`
Server information.
`static class`
`Commands.StatCommand`
Same as SrvrCommand but has extra "connections" entry.
`static class`
`Commands.StatResetCommand`
Resets server statistics.
`static class`
`Commands.SyncedObserverConsCommand`
Information on observer connections to server.
`static class`
`Commands.SystemPropertiesCommand`
All defined system properties.
`static class`
`Commands.VotingViewCommand`
Returns the current ensemble configuration information.
`static class`
`Commands.WatchCommand`
Watch information aggregated by session.
`static class`
`Commands.WatchesByPathCommand`
Watch information aggregated by path.
`static class`
`Commands.WatchSummaryCommand`
Summarized watch information.
`static class`
`Commands.ZabStateCommand`
Returns the current phase of Zab protocol that peer is running.
`class`
`GetCommand`
Command that represents HTTP GET request
`class`
`PostCommand`
Methods in org.apache.zookeeper.server.admin that return Command
Modifier and Type
Method
Description
`static Command`
Commands.`getCommand(String cmdName)`
Returns the commands registered under cmdName with registerCommand, or null if no command is registered with that name.
Methods in org.apache.zookeeper.server.admin with parameters of type Command
Modifier and Type
Method
Description
`static void`
Commands.`registerCommand(Command command)`
Registers the given command.