Class ZooKeeperServerShimImpl

java.lang.Object
org.apache.bookkeeper.shims.zk.ZooKeeperServerShimImpl
All Implemented Interfaces:
ZooKeeperServerShim

class ZooKeeperServerShimImpl extends Object implements ZooKeeperServerShim
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) org.apache.zookeeper.server.NIOServerCnxnFactory
     
    (package private) org.apache.zookeeper.server.ZooKeeperServer
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    initialize(File snapDir, File logDir, int zkPort, int maxCC)
    Initialize zookeeper server.
    void
    Start the zookeeper server.
    void
    Stop the zookeeper server.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • zks

      org.apache.zookeeper.server.ZooKeeperServer zks
    • serverFactory

      org.apache.zookeeper.server.NIOServerCnxnFactory serverFactory
  • Constructor Details

    • ZooKeeperServerShimImpl

      ZooKeeperServerShimImpl()
  • Method Details