@InterfaceAudience.Private public class FailedServers extends Object
Modifier and Type | Field and Description |
---|---|
private LinkedList<Pair<Long,String>> |
failedServers |
private int |
recheckServersTimeout |
Constructor and Description |
---|
FailedServers(org.apache.hadoop.conf.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.
|
private final LinkedList<Pair<Long,String>> failedServers
private final int recheckServersTimeout
public void addToFailedServers(InetSocketAddress address)
public boolean isFailedServer(InetSocketAddress address)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.