Interface ClientContext

  • public interface ClientContext
    Collection of client objects used by LedgerHandle to interact with the outside world. Normally these are instantiated by the BookKeeper object but they are present to the LedgerHandle through this interface to allow tests to easily inject mocked versions.
    • Method Detail

      • getLedgerManager

        org.apache.bookkeeper.meta.LedgerManager getLedgerManager()
      • getBookieClient

        org.apache.bookkeeper.proto.BookieClient getBookieClient()
      • getByteBufAllocator

        io.netty.buffer.ByteBufAllocator getByteBufAllocator()
      • getMainWorkerPool

        org.apache.bookkeeper.common.util.OrderedExecutor getMainWorkerPool()
      • getScheduler

        org.apache.bookkeeper.common.util.OrderedScheduler getScheduler()
      • isClientClosed

        boolean isClientClosed()