org.wso2.carbon.databridge.agent.thrift
Class Agent
java.lang.Object
org.wso2.carbon.databridge.agent.thrift.Agent
public class Agent
- extends Object
Agent who connects to the AgentServer and Sends Events
There has to be one Agent server in a JVM since else it will use all resources of the OS
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Agent
public Agent()
Agent
public Agent(AgentConfiguration agentConfiguration)
shutdown
public void shutdown()
- To shutdown Agent
shutdownNow
public void shutdownNow()
- To shutdown Agent immediately
getAgentConfiguration
public AgentConfiguration getAgentConfiguration()
getTransportPool
public org.apache.commons.pool.impl.GenericKeyedObjectPool getTransportPool()
getQueueSemaphore
public Semaphore getQueueSemaphore()
getAgentAuthenticator
public AgentAuthenticator getAgentAuthenticator()
getThreadPool
public ThreadPoolExecutor getThreadPool()
getSecureTransportPool
public org.apache.commons.pool.impl.GenericKeyedObjectPool getSecureTransportPool()
Copyright © 2015 WSO2. All rights reserved.