Package org.apache.bookkeeper.client
Interface BookiesHealthInfo
public interface BookiesHealthInfo
This interface returns heuristics used to determine the health of a Bookkeeper server for read
ordering.
-
Method Summary
Modifier and TypeMethodDescriptionlonggetBookieFailureHistory(BookieId bookieSocketAddress) Return the failure history for a bookie.longgetBookiePendingRequests(BookieId bookieSocketAddress) Returns pending requests to a bookie.
-
Method Details
-
getBookieFailureHistory
Return the failure history for a bookie.- Parameters:
bookieSocketAddress-- Returns:
- failed entries on a bookie, -1 if there have been no failures
-
getBookiePendingRequests
Returns pending requests to a bookie.- Parameters:
bookieSocketAddress-- Returns:
- number of pending requests
-