org.apache.hadoop.chukwa.datacollection.connector.http
Class HttpConnector

java.lang.Object
  extended by org.apache.hadoop.chukwa.datacollection.connector.http.HttpConnector
All Implemented Interfaces:
Runnable, Connector

public class HttpConnector
extends Object
implements Connector, Runnable


Field Summary
protected  ChukwaSender connectorClient
           
 
Fields inherited from interface org.apache.hadoop.chukwa.datacollection.connector.Connector
adaptorTimestampField, adaptorURIField, logApplicationField, logEventField, logSourceField, logTimestampField, proxyRetryField, proxyTimestampField, proxyURIField
 
Constructor Summary
HttpConnector(ChukwaAgent agent)
           
HttpConnector(ChukwaAgent agent, String destination)
           
 
Method Summary
 void reloadConfiguration()
           
 void run()
           
 void shutdown()
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connectorClient

protected ChukwaSender connectorClient
Constructor Detail

HttpConnector

public HttpConnector(ChukwaAgent agent)

HttpConnector

public HttpConnector(ChukwaAgent agent,
                     String destination)
Method Detail

start

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

shutdown

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

run

public void run()
Specified by:
run in interface Runnable

reloadConfiguration

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


Copyright © ${year} The Apache Software Foundation