public class RetryListOfCollectors extends Object implements Iterator<String>, Cloneable
Modifier and Type | Field and Description |
---|---|
static String |
RETRY_RATE_OPT |
Constructor and Description |
---|
RetryListOfCollectors(org.apache.hadoop.conf.Configuration conf) |
RetryListOfCollectors(File collectorFile,
org.apache.hadoop.conf.Configuration conf) |
RetryListOfCollectors(List<String> collectors,
org.apache.hadoop.conf.Configuration conf)
This is only used for debugging.
|
Modifier and Type | Method and Description |
---|---|
void |
add(String collector) |
RetryListOfCollectors |
clone() |
boolean |
hasNext() |
String |
next() |
void |
remove() |
void |
shuffleList() |
public static final String RETRY_RATE_OPT
public RetryListOfCollectors(File collectorFile, org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
public RetryListOfCollectors(List<String> collectors, org.apache.hadoop.conf.Configuration conf)
collectors
- maxRetryRateMs
- public RetryListOfCollectors(org.apache.hadoop.conf.Configuration conf)
public void shuffleList()
public void add(String collector)
public RetryListOfCollectors clone()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.