Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.messaging.jmx
Class DestinationStatisticsManager

java.lang.Object
  extended by com.liferay.portal.kernel.messaging.jmx.DestinationStatisticsManager
All Implemented Interfaces:
DestinationStatisticsManagerMBean

public class DestinationStatisticsManager
extends Object
implements DestinationStatisticsManagerMBean


Constructor Summary
DestinationStatisticsManager(Destination destination)
           
 
Method Summary
static ObjectName createObjectName(String destinationName)
           
 int getActiveThreadCount()
           
 int getCurrentThreadCount()
           
 int getLargestThreadCount()
           
 String getLastRefresh()
           
 int getMaxThreadPoolSize()
           
 int getMinThreadPoolSize()
           
 long getPendingMessageCount()
           
 long getSentMessageCount()
           
 boolean isAutoRefresh()
           
 void refresh()
           
 void setAutoRefresh(boolean autoRefresh)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DestinationStatisticsManager

public DestinationStatisticsManager(Destination destination)
Method Detail

createObjectName

public static ObjectName createObjectName(String destinationName)

getActiveThreadCount

public int getActiveThreadCount()
Specified by:
getActiveThreadCount in interface DestinationStatisticsManagerMBean

getCurrentThreadCount

public int getCurrentThreadCount()
Specified by:
getCurrentThreadCount in interface DestinationStatisticsManagerMBean

getLargestThreadCount

public int getLargestThreadCount()
Specified by:
getLargestThreadCount in interface DestinationStatisticsManagerMBean

getLastRefresh

public String getLastRefresh()
Specified by:
getLastRefresh in interface DestinationStatisticsManagerMBean

getMaxThreadPoolSize

public int getMaxThreadPoolSize()
Specified by:
getMaxThreadPoolSize in interface DestinationStatisticsManagerMBean

getMinThreadPoolSize

public int getMinThreadPoolSize()
Specified by:
getMinThreadPoolSize in interface DestinationStatisticsManagerMBean

getPendingMessageCount

public long getPendingMessageCount()
Specified by:
getPendingMessageCount in interface DestinationStatisticsManagerMBean

getSentMessageCount

public long getSentMessageCount()
Specified by:
getSentMessageCount in interface DestinationStatisticsManagerMBean

isAutoRefresh

public boolean isAutoRefresh()
Specified by:
isAutoRefresh in interface DestinationStatisticsManagerMBean

refresh

public void refresh()
Specified by:
refresh in interface DestinationStatisticsManagerMBean

setAutoRefresh

public void setAutoRefresh(boolean autoRefresh)
Specified by:
setAutoRefresh in interface DestinationStatisticsManagerMBean

Liferay 6.1.2-ce-ga3