Class DummyAdminServer
java.lang.Object
org.apache.zookeeper.server.admin.DummyAdminServer
- All Implemented Interfaces:
AdminServer
An AdminServer that does nothing.
We use this class when we wish to disable the AdminServer. (This way we only
have to consider whether the server is enabled when we create the
AdminServer, which is handled by AdminServerFactory.)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.zookeeper.server.admin.AdminServer
AdminServer.AdminServerException
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setZooKeeperServer
(ZooKeeperServer zkServer) void
shutdown()
void
start()
-
Constructor Details
-
DummyAdminServer
public DummyAdminServer()
-
-
Method Details
-
start
- Specified by:
start
in interfaceAdminServer
- Throws:
AdminServer.AdminServerException
-
shutdown
- Specified by:
shutdown
in interfaceAdminServer
- Throws:
AdminServer.AdminServerException
-
setZooKeeperServer
- Specified by:
setZooKeeperServer
in interfaceAdminServer
-