Class DummyAdminServer
- java.lang.Object
- 
- org.apache.zookeeper.server.admin.DummyAdminServer
 
- 
- All Implemented Interfaces:
- AdminServer
 
 public class DummyAdminServer extends Object implements 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.AdminServerAdminServer.AdminServerException
 
- 
 - 
Constructor SummaryConstructors Constructor Description DummyAdminServer()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetZooKeeperServer(ZooKeeperServer zkServer)voidshutdown()voidstart()
 
- 
- 
- 
Method Detail- 
startpublic void start() throws AdminServer.AdminServerException- Specified by:
- startin interface- AdminServer
- Throws:
- AdminServer.AdminServerException
 
 - 
shutdownpublic void shutdown() throws AdminServer.AdminServerException- Specified by:
- shutdownin interface- AdminServer
- Throws:
- AdminServer.AdminServerException
 
 - 
setZooKeeperServerpublic void setZooKeeperServer(ZooKeeperServer zkServer) - Specified by:
- setZooKeeperServerin interface- AdminServer
 
 
- 
 
-