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() |
public static DataFactory getInstance()
public ChunkQueue getEventQueue()
public ChunkQueue createEventQueue()
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 © 2014 Apache Software Foundation. All Rights Reserved.