Class ZooKeeperServerEmbeddedAdapter

java.lang.Object
org.apache.curator.test.ZooKeeperServerEmbeddedAdapter
All Implemented Interfaces:
Closeable, AutoCloseable

public class ZooKeeperServerEmbeddedAdapter extends Object
  • Constructor Details

    • ZooKeeperServerEmbeddedAdapter

      public ZooKeeperServerEmbeddedAdapter()
  • Method Details

    • start

      public void start(QuorumPeerConfigBuilder configBuilder)
    • getClientPort

      public int getClientPort() throws Exception
      Throws:
      Exception
    • getServerCnxnFactory

      public org.apache.zookeeper.server.ServerCnxnFactory getServerCnxnFactory()
    • kill

      public void kill()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable