org.apache.hadoop.chukwa.datacollection.test
Class ConsoleOutConnector

java.lang.Object
  extended by java.lang.Thread
      extended by org.apache.hadoop.chukwa.datacollection.test.ConsoleOutConnector
All Implemented Interfaces:
Runnable, Connector

public class ConsoleOutConnector
extends Thread
implements Connector

Output events to stdout. Intended for debugging use.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Fields inherited from interface org.apache.hadoop.chukwa.datacollection.connector.Connector
adaptorTimestampField, adaptorURIField, logApplicationField, logEventField, logSourceField, logTimestampField, proxyRetryField, proxyTimestampField, proxyURIField
 
Constructor Summary
ConsoleOutConnector(ChukwaAgent a)
           
ConsoleOutConnector(ChukwaAgent a, boolean silent)
           
 
Method Summary
 void reloadConfiguration()
           
 void run()
           
 void shutdown()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.chukwa.datacollection.connector.Connector
start
 

Constructor Detail

ConsoleOutConnector

public ConsoleOutConnector(ChukwaAgent a)

ConsoleOutConnector

public ConsoleOutConnector(ChukwaAgent a,
                           boolean silent)
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

shutdown

public void shutdown()
Specified by:
shutdown in interface Connector

reloadConfiguration

public void reloadConfiguration()
Specified by:
reloadConfiguration in interface Connector


Copyright © ${year} The Apache Software Foundation