org.apache.hadoop.chukwa.datacollection.connector.http
Class HttpConnector
java.lang.Object
org.apache.hadoop.chukwa.datacollection.connector.http.HttpConnector
- All Implemented Interfaces:
- Runnable, Connector
public class HttpConnector
- extends Object
- implements Connector, Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MIN_POST_INTERVAL_OPT
public static final String MIN_POST_INTERVAL_OPT
- See Also:
- Constant Field Values
MAX_SIZE_PER_POST_OPT
public static final String MAX_SIZE_PER_POST_OPT
- See Also:
- Constant Field Values
ASYNC_ACKS_OPT
public static final String ASYNC_ACKS_OPT
- See Also:
- Constant Field Values
connectorClient
protected ChukwaSender connectorClient
HttpConnector
public HttpConnector(ChukwaAgent agent)
HttpConnector
public HttpConnector(ChukwaAgent agent,
String destination)
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
getSender
public ChukwaSender getSender()
setCollectors
public void setCollectors(Iterator<String> list)
Copyright © ${year} The Apache Software Foundation