Package org.opennms.netmgt.notifd.jmx
Class Notifd
- java.lang.Object
-
- org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon<Notifd>
-
- org.opennms.netmgt.notifd.jmx.Notifd
-
- All Implemented Interfaces:
BaseOnmsMBean
,NotifdMBean
public class Notifd extends AbstractSpringContextJmxServiceDaemon<Notifd> implements NotifdMBean
Notifd class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon
DAEMON_BEAN_NAME
-
-
Constructor Summary
Constructors Constructor Description Notifd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBinaryNoticesAttempted()
long
getBinaryNoticesFailed()
long
getBinaryNoticesInterrupted()
long
getBinaryNoticesSucceeded()
long
getJavaNoticesAttempted()
long
getJavaNoticesFailed()
long
getJavaNoticesInterrupted()
long
getJavaNoticesSucceeded()
protected java.lang.String
getLoggingPrefix()
getLoggingPrefixlong
getNotificationTasksQueued()
protected java.lang.String
getSpringContext()
getSpringContextlong
getUnknownNoticesInterrupted()
-
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<Notifd>
- Returns:
- a
String
object.
-
getSpringContext
protected java.lang.String getSpringContext()
getSpringContext
- Specified by:
getSpringContext
in classAbstractSpringContextJmxServiceDaemon<Notifd>
- Returns:
- a
String
object.
-
getNotificationTasksQueued
public long getNotificationTasksQueued()
- Specified by:
getNotificationTasksQueued
in interfaceNotifdMBean
- Returns:
- The total number of notification tasks enqueued since Notifd was last started
-
getBinaryNoticesAttempted
public long getBinaryNoticesAttempted()
- Specified by:
getBinaryNoticesAttempted
in interfaceNotifdMBean
- Returns:
- The total number of binary notifications attempted since Notifd was last started
-
getJavaNoticesAttempted
public long getJavaNoticesAttempted()
- Specified by:
getJavaNoticesAttempted
in interfaceNotifdMBean
- Returns:
- The total number of Java notifications attempted since Notifd was last started
-
getBinaryNoticesSucceeded
public long getBinaryNoticesSucceeded()
- Specified by:
getBinaryNoticesSucceeded
in interfaceNotifdMBean
- Returns:
- The total number of attempted binary notifications that succeeded since Notifd was last started
-
getJavaNoticesSucceeded
public long getJavaNoticesSucceeded()
- Specified by:
getJavaNoticesSucceeded
in interfaceNotifdMBean
- Returns:
- The total number of attempted Java notifications that succeeded since Notifd was last started
-
getBinaryNoticesFailed
public long getBinaryNoticesFailed()
- Specified by:
getBinaryNoticesFailed
in interfaceNotifdMBean
- Returns:
- The total number of attempted binary notifications that failed (returned a non-zero exit code) since Notifd was last started
-
getJavaNoticesFailed
public long getJavaNoticesFailed()
- Specified by:
getJavaNoticesFailed
in interfaceNotifdMBean
- Returns:
- The total number of attempted Java notifications that failed (returned a non-zero value) since Notifd was last started
-
getBinaryNoticesInterrupted
public long getBinaryNoticesInterrupted()
- Specified by:
getBinaryNoticesInterrupted
in interfaceNotifdMBean
- Returns:
- The total number of attempted binary notifications that were interrupted (threw an exception) since Notifd was last started.
-
getJavaNoticesInterrupted
public long getJavaNoticesInterrupted()
- Specified by:
getJavaNoticesInterrupted
in interfaceNotifdMBean
- Returns:
- The total number of attempted Java notifications that were interrupted (threw an exception) since Notifd was last started
-
getUnknownNoticesInterrupted
public long getUnknownNoticesInterrupted()
- Specified by:
getUnknownNoticesInterrupted
in interfaceNotifdMBean
- Returns:
- The total number of unknown notifications that were interrupted (threw an exception) since Notifd was last started.
-
-