Interface BookiesHealthInfo


public interface BookiesHealthInfo
This interface returns heuristics used to determine the health of a Bookkeeper server for read ordering.
  • Method Details

    • getBookieFailureHistory

      long getBookieFailureHistory(BookieId bookieSocketAddress)
      Return the failure history for a bookie.
      Parameters:
      bookieSocketAddress -
      Returns:
      failed entries on a bookie, -1 if there have been no failures
    • getBookiePendingRequests

      long getBookiePendingRequests(BookieId bookieSocketAddress)
      Returns pending requests to a bookie.
      Parameters:
      bookieSocketAddress -
      Returns:
      number of pending requests