Package org.apache.bookkeeper.test
Class ServerTester
java.lang.Object
org.apache.bookkeeper.test.ServerTester
Class to encapsulate all the test objects.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classMock implementation of UncleanShutdownDetection. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServerTester(org.apache.bookkeeper.conf.ServerConfiguration conf) ServerTester(org.apache.bookkeeper.conf.ServerConfiguration conf, org.apache.bookkeeper.bookie.Bookie b) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.bookkeeper.net.BookieSocketAddressorg.apache.bookkeeper.replication.Auditororg.apache.bookkeeper.conf.ServerConfigurationorg.apache.bookkeeper.replication.ReplicationWorkerorg.apache.bookkeeper.proto.BookieServervoidshutdown()voidvoid
-
Field Details
-
autoRecovery
public org.apache.bookkeeper.replication.AutoRecoveryMain autoRecovery
-
-
Constructor Details
-
Method Details
-
startAutoRecovery
- Throws:
Exception
-
stopAutoRecovery
public void stopAutoRecovery() -
getAuditor
public org.apache.bookkeeper.replication.Auditor getAuditor() -
getReplicationWorker
public org.apache.bookkeeper.replication.ReplicationWorker getReplicationWorker() -
getConfiguration
public org.apache.bookkeeper.conf.ServerConfiguration getConfiguration() -
getServer
public org.apache.bookkeeper.proto.BookieServer getServer() -
getStatsProvider
-
getAddress
public org.apache.bookkeeper.net.BookieSocketAddress getAddress() -
shutdown
- Throws:
Exception
-