Class ServerTester

java.lang.Object
org.apache.bookkeeper.test.ServerTester

public class ServerTester extends Object
Class to encapsulate all the test objects.
  • Field Details

    • autoRecovery

      public org.apache.bookkeeper.replication.AutoRecoveryMain autoRecovery
  • Constructor Details

    • ServerTester

      public ServerTester(org.apache.bookkeeper.conf.ServerConfiguration conf) throws Exception
      Throws:
      Exception
    • ServerTester

      public ServerTester(org.apache.bookkeeper.conf.ServerConfiguration conf, org.apache.bookkeeper.bookie.Bookie b) throws Exception
      Throws:
      Exception
  • Method Details

    • startAutoRecovery

      public void startAutoRecovery() throws Exception
      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

      public TestStatsProvider getStatsProvider()
    • getAddress

      public org.apache.bookkeeper.net.BookieSocketAddress getAddress()
    • shutdown

      public void shutdown() throws Exception
      Throws:
      Exception