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 java.lang.String
getLoggingPrefix()
getLoggingPrefixlong
getReportRunTime()
long
getReportsCompleted()
long
getReportsPersisted()
long
getReportsStarted()
protected java.lang.String
getSpringContext()
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 java.lang.String getLoggingPrefix()
getLoggingPrefix
- Specified by:
getLoggingPrefix
in classAbstractSpringContextJmxServiceDaemon<Statsd>
- Returns:
- a
String
object.
-
getSpringContext
protected java.lang.String getSpringContext()
getSpringContext
- Specified by:
getSpringContext
in classAbstractSpringContextJmxServiceDaemon<Statsd>
- Returns:
- a
String
object.
-
getReportsStarted
public long getReportsStarted()
- Specified by:
getReportsStarted
in interfaceStatsdMBean
- Returns:
- The number of report runs started since Statsd was last started
-
getReportsCompleted
public long getReportsCompleted()
- Specified by:
getReportsCompleted
in interfaceStatsdMBean
- Returns:
- The number of report runs completed since Statsd was last started
-
getReportsPersisted
public long getReportsPersisted()
- Specified by:
getReportsPersisted
in interfaceStatsdMBean
- Returns:
- The number of reports persisted since Statsd was last started
-
getReportRunTime
public long getReportRunTime()
- Specified by:
getReportRunTime
in interfaceStatsdMBean
- Returns:
- The time, in milliseconds, spent running reports since Statsd was last started
-
-