@InterfaceAudience.Private public class FailedServers extends Object
Constructor and Description |
---|
FailedServers(Configuration conf) |
Modifier and Type | Method and Description |
---|---|
void |
addToFailedServers(InetSocketAddress address)
Add an address to the list of the failed servers list.
|
boolean |
isFailedServer(InetSocketAddress address)
Check if the server should be considered as bad.
|
public void addToFailedServers(InetSocketAddress address)
public boolean isFailedServer(InetSocketAddress address)