Package org.apache.hadoop.hbase.ipc
Class FailedServers
java.lang.Object
org.apache.hadoop.hbase.ipc.FailedServers
A class to manage a list of servers that failed recently.
-
Field Summary
Modifier and TypeFieldDescriptionprivate long
private static final org.slf4j.Logger
private final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToFailedServers
(Address address, Throwable throwable) Add an address to the list of the failed servers list.boolean
isFailedServer
(Address address) Check if the server should be considered as bad.
-
Field Details
-
failedServers
-
latestExpiry
-
recheckServersTimeout
-
LOG
-
-
Constructor Details
-
FailedServers
-
-
Method Details
-
addToFailedServers
Add an address to the list of the failed servers list. -
isFailedServer
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
-