org.apache.hadoop.chukwa.datacollection
Class DataFactory

java.lang.Object
  extended by org.apache.hadoop.chukwa.datacollection.DataFactory

public class DataFactory
extends Object


Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DataFactory getInstance()

getEventQueue

public ChunkQueue getEventQueue()

getDefaultTags

public String getDefaultTags()

addDefaultTag

public void addDefaultTag(String tag)

getCollectorURLs

public Iterator<String> getCollectorURLs(org.apache.hadoop.conf.Configuration conf,
                                         String filename)
                                  throws IOException
Returns:
empty list if file does not exist
Throws:
IOException - on other error

getCollectorURLs

public Iterator<String> getCollectorURLs(org.apache.hadoop.conf.Configuration conf)
                                  throws IOException
Throws:
IOException


Copyright © ${year} The Apache Software Foundation