org.wso2.carbon.databridge.agent.thrift
Class Agent

java.lang.Object
  extended by 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


Constructor Summary
Agent()
           
Agent(AgentConfiguration agentConfiguration)
           
 
Method Summary
 AgentAuthenticator getAgentAuthenticator()
           
 AgentConfiguration getAgentConfiguration()
           
 Semaphore getQueueSemaphore()
           
 org.apache.commons.pool.impl.GenericKeyedObjectPool getSecureTransportPool()
           
 ThreadPoolExecutor getThreadPool()
           
 org.apache.commons.pool.impl.GenericKeyedObjectPool getTransportPool()
           
 void shutdown()
          To shutdown Agent
 void shutdownNow()
          To shutdown Agent immediately
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Agent

public Agent()

Agent

public Agent(AgentConfiguration agentConfiguration)
Method Detail

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.