public class DataFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addDefaultTag(String tag) |
ChunkQueue |
createEventQueue() |
Iterator<String> |
getCollectorURLs(org.apache.hadoop.conf.Configuration conf) |
Iterator<String> |
getCollectorURLs(org.apache.hadoop.conf.Configuration conf,
String filename) |
String |
getDefaultTags() |
ChunkQueue |
getEventQueue() |
static DataFactory |
getInstance() |
void |
put(Chunk c) |
void |
setDefaultTags(String tags) |
public static DataFactory getInstance()
public ChunkQueue getEventQueue()
public void put(Chunk c) throws InterruptedException
InterruptedExceptionpublic ChunkQueue createEventQueue()
public String getDefaultTags()
public void setDefaultTags(String tags)
public void addDefaultTag(String tag)
public Iterator<String> getCollectorURLs(org.apache.hadoop.conf.Configuration conf, String filename) throws IOException
conf - is Chukwa configurationfilename - is collector listIOException - on other errorpublic Iterator<String> getCollectorURLs(org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionCopyright © 2016 Apache Software Foundation. All Rights Reserved.