com.liferay.portal.kernel.messaging.jmx
Class DestinationStatisticsManager
java.lang.Object
com.liferay.portal.kernel.messaging.jmx.DestinationStatisticsManager
- All Implemented Interfaces:
- DestinationStatisticsManagerMBean
public class DestinationStatisticsManager
- extends Object
- implements DestinationStatisticsManagerMBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DestinationStatisticsManager
public DestinationStatisticsManager(Destination destination)
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