Class FailedServers

java.lang.Object
org.apache.hadoop.hbase.ipc.FailedServers

@Private public class FailedServers extends Object
A class to manage a list of servers that failed recently.
  • Field Details

  • Constructor Details

    • FailedServers

      public FailedServers(org.apache.hadoop.conf.Configuration conf)
  • Method Details

    • addToFailedServers

      public void addToFailedServers(Address address, Throwable throwable)
      Add an address to the list of the failed servers list.
    • isFailedServer

      public boolean isFailedServer(Address address)
      Check if the server should be considered as bad. Clean the old entries of the list.
      Returns:
      true if the server is in the failed servers list