@InterfaceAudience.Private public class FailedServers extends Object
Constructor and Description |
---|
FailedServers(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
void |
addToFailedServers(InetSocketAddress address,
Throwable throwable)
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, Throwable throwable)
public boolean isFailedServer(InetSocketAddress address)
Copyright © 2007–2019 Cloudera. All rights reserved.