Package org.opennms.netmgt.poller.jmx
Interface PollerdMBean
-
- All Superinterfaces:
BaseOnmsMBean
- All Known Implementing Classes:
Pollerd
public interface PollerdMBean extends BaseOnmsMBean
PollerdMBean interface.
- Version:
- $Id: $
- Author:
- ranger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getActiveThreads()
long
getCorePoolThreads()
long
getMaxPoolThreads()
long
getNumPolls()
Returns the number of polls that have been executed so far (counter).long
getNumPoolThreads()
long
getPeakPoolThreads()
double
getTaskCompletionRatio()
long
getTaskQueuePendingCount()
long
getTaskQueueRemainingCapacity()
long
getTasksCompleted()
long
getTasksTotal()
-
Methods inherited from interface org.opennms.netmgt.daemon.BaseOnmsMBean
getStatus, getStatusText, init, start, status, stop
-
-
-
-
Method Detail
-
getNumPolls
long getNumPolls()
Returns the number of polls that have been executed so far (counter).- Returns:
- the number of polls that have been executed
-
getActiveThreads
long getActiveThreads()
- Returns:
- The number of currently active poller threads
-
getTasksTotal
long getTasksTotal()
- Returns:
- The cumulative number of polling tasks scheduled since poller startup
-
getTasksCompleted
long getTasksCompleted()
- Returns:
- The cumulative number of polling tasks completed since poller startup
-
getTaskCompletionRatio
double getTaskCompletionRatio()
- Returns:
- The ratio of completed to scheduled polling tasks since poller startup
-
getNumPoolThreads
long getNumPoolThreads()
- Returns:
- The current number of threads in the pool
-
getPeakPoolThreads
long getPeakPoolThreads()
- Returns:
- The largest size of the poller thread pool since poller startup
-
getCorePoolThreads
long getCorePoolThreads()
- Returns:
- The core number of threads
-
getMaxPoolThreads
long getMaxPoolThreads()
- Returns:
- The maximum number of threads allowed in the poller's thread pool
-
getTaskQueuePendingCount
long getTaskQueuePendingCount()
- Returns:
- The number of pending tasks on our ExecutorService
-
getTaskQueueRemainingCapacity
long getTaskQueueRemainingCapacity()
- Returns:
- The number of open slots on our ExecutorService queue.
-
-