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 TypeMethodDescriptionvoidsetZooKeeperServer(ZooKeeperServer zkServer) voidshutdown()voidstart()
-
Constructor Details
-
DummyAdminServer
public DummyAdminServer()
-
-
Method Details
-
start
- Specified by:
startin interfaceAdminServer- Throws:
AdminServer.AdminServerException
-
shutdown
- Specified by:
shutdownin interfaceAdminServer- Throws:
AdminServer.AdminServerException
-
setZooKeeperServer
- Specified by:
setZooKeeperServerin interfaceAdminServer
-