org.apache.hadoop.chukwa.dataloader
Class SocketDataLoader
java.lang.Object
org.apache.hadoop.chukwa.dataloader.SocketDataLoader
- All Implemented Interfaces:
- Runnable
public class SocketDataLoader
- extends Object
- implements Runnable
Socket Data Loader, also known as the SDL, is a framework for allowing direct
access to log data under the Chukwa Collector in a safe and efficient manner.
Subscribe to chukwaCollector.tee.port for data streaming.
Defaults socket tee port is 9094.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocketDataLoader
public SocketDataLoader(String recordType)
start
public void start()
read
public Collection<Chunk> read()
throws NoSuchElementException
- Throws:
NoSuchElementException
stop
public void stop()
running
public boolean running()
run
public void run()
- Specified by:
run
in interface Runnable
Copyright © ${year} The Apache Software Foundation