Interface BlockClientListener


  • public interface BlockClientListener
    An interface to listen for creation and destruction of block clients.
    • Method Detail

      • clientOpened

        void clientOpened​(BlockClient blockClient,
                          BlockStoreLocation location)
        Called when a new block client is opened.
        Parameters:
        blockClient - the block read/write client
        location - the block location
      • clientClosed

        void clientClosed​(BlockClient blockClient,
                          BlockStoreLocation location)
        Called when an open block client is closed.
        Parameters:
        blockClient - the block read/write client
        location - the block location