public class DataFactory extends Object
Modifier and Type | Method and Description |
---|---|
void |
addDefaultTag(String tag) |
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() |
public static DataFactory getInstance()
public ChunkQueue getEventQueue()
public String getDefaultTags()
public void addDefaultTag(String tag)
public Iterator<String> getCollectorURLs(org.apache.hadoop.conf.Configuration conf, String filename) throws IOException
IOException
- on other errorpublic Iterator<String> getCollectorURLs(org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
Copyright © ${year} The Apache Software Foundation