Package org.opennms.netmgt.statsd.jmx
Class Statsd
- java.lang.Object
-
- org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon<Statsd>
-
- org.opennms.netmgt.statsd.jmx.Statsd
-
- All Implemented Interfaces:
BaseOnmsMBean,StatsdMBean
public class Statsd extends AbstractSpringContextJmxServiceDaemon<Statsd> implements StatsdMBean
Statsd class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon
DAEMON_BEAN_NAME
-
-
Constructor Summary
Constructors Constructor Description Statsd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetLoggingPrefix()getLoggingPrefixlonggetReportRunTime()longgetReportsCompleted()longgetReportsPersisted()longgetReportsStarted()protected StringgetSpringContext()getSpringContext-
Methods inherited from class org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon
getContext, getDaemon, getStatus, getStatusText, init, start, status, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.daemon.BaseOnmsMBean
getStatus, getStatusText, init, start, status, stop
-
-
-
-
Method Detail
-
getLoggingPrefix
protected String getLoggingPrefix()
getLoggingPrefix
- Specified by:
getLoggingPrefixin classAbstractSpringContextJmxServiceDaemon<Statsd>- Returns:
- a
Stringobject.
-
getSpringContext
protected String getSpringContext()
getSpringContext
- Specified by:
getSpringContextin classAbstractSpringContextJmxServiceDaemon<Statsd>- Returns:
- a
Stringobject.
-
getReportsStarted
public long getReportsStarted()
- Specified by:
getReportsStartedin interfaceStatsdMBean- Returns:
- The number of report runs started since Statsd was last started
-
getReportsCompleted
public long getReportsCompleted()
- Specified by:
getReportsCompletedin interfaceStatsdMBean- Returns:
- The number of report runs completed since Statsd was last started
-
getReportsPersisted
public long getReportsPersisted()
- Specified by:
getReportsPersistedin interfaceStatsdMBean- Returns:
- The number of reports persisted since Statsd was last started
-
getReportRunTime
public long getReportRunTime()
- Specified by:
getReportRunTimein interfaceStatsdMBean- Returns:
- The time, in milliseconds, spent running reports since Statsd was last started
-
-