public class BrokerServer extends Object implements BrokerServerMBean
| Constructor and Description |
|---|
BrokerServer(BrokerServerConfiguration configuration,
QueueManager queueManager,
DistributedQueueManager dqm) |
| Modifier and Type | Method and Description |
|---|---|
BrokerServerConfiguration |
getConfiguration() |
int |
getMaxThreads() |
int |
getMinThreads() |
int |
getPort() |
int |
getThreadPoolBusyThreadCount() |
long |
getThreadPoolCompletedTaskCount() |
int |
getThreadPoolCurrentThreadCount() |
int |
getThreadPoolIdleThreadCount() |
int |
getThreadPoolMaxThreadCount() |
int |
getThreadPoolMinThreadCount() |
int |
getThreadPoolPeakThreadCount() |
long |
getThreadPoolSubmittedTaskCount() |
long |
getThreadPoolWaitingTaskCount()
Troubleshooting requests/responses and why things may be hanging...
|
boolean |
getUseDirectBuffers() |
boolean |
isStarted() |
boolean |
isStopped() |
protected void |
registerMBean() |
void |
setPutHandler(BrokerServerPutHandler putHandler)
Overrides the default "put" handler for the BrokerServlet.
|
void |
start() |
void |
stop() |
public BrokerServer(BrokerServerConfiguration configuration, QueueManager queueManager, DistributedQueueManager dqm)
protected void registerMBean()
public void setPutHandler(BrokerServerPutHandler putHandler)
putHandler - public BrokerServerConfiguration getConfiguration()
public int getPort()
getPort in interface BrokerServerMBeanpublic int getMinThreads()
getMinThreads in interface BrokerServerMBeanpublic int getMaxThreads()
getMaxThreads in interface BrokerServerMBeanpublic boolean getUseDirectBuffers()
public boolean isStarted()
isStarted in interface BrokerServerMBeanpublic boolean isStopped()
isStopped in interface BrokerServerMBeanpublic void start()
throws Exception
start in interface BrokerServerMBeanExceptionpublic void stop()
throws Exception
stop in interface BrokerServerMBeanExceptionpublic long getThreadPoolWaitingTaskCount()
BrokerServerMBeangetThreadPoolWaitingTaskCount in interface BrokerServerMBeanpublic long getThreadPoolSubmittedTaskCount()
getThreadPoolSubmittedTaskCount in interface BrokerServerMBeanpublic long getThreadPoolCompletedTaskCount()
getThreadPoolCompletedTaskCount in interface BrokerServerMBeanpublic int getThreadPoolBusyThreadCount()
getThreadPoolBusyThreadCount in interface BrokerServerMBeanpublic int getThreadPoolIdleThreadCount()
getThreadPoolIdleThreadCount in interface BrokerServerMBeanpublic int getThreadPoolCurrentThreadCount()
getThreadPoolCurrentThreadCount in interface BrokerServerMBeanpublic int getThreadPoolMinThreadCount()
getThreadPoolMinThreadCount in interface BrokerServerMBeanpublic int getThreadPoolMaxThreadCount()
getThreadPoolMaxThreadCount in interface BrokerServerMBeanpublic int getThreadPoolPeakThreadCount()
getThreadPoolPeakThreadCount in interface BrokerServerMBeanCopyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.