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 longgetBinaryNoticesAttempted()longgetBinaryNoticesFailed()longgetBinaryNoticesInterrupted()longgetBinaryNoticesSucceeded()longgetJavaNoticesAttempted()longgetJavaNoticesFailed()longgetJavaNoticesInterrupted()longgetJavaNoticesSucceeded()protected StringgetLoggingPrefix()getLoggingPrefixlonggetNotificationTasksQueued()protected StringgetSpringContext()getSpringContextlonggetUnknownNoticesInterrupted()-
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<Notifd>- Returns:
- a
Stringobject.
-
getSpringContext
protected String getSpringContext()
getSpringContext
- Specified by:
getSpringContextin classAbstractSpringContextJmxServiceDaemon<Notifd>- Returns:
- a
Stringobject.
-
getNotificationTasksQueued
public long getNotificationTasksQueued()
- Specified by:
getNotificationTasksQueuedin interfaceNotifdMBean- Returns:
- The total number of notification tasks enqueued since Notifd was last started
-
getBinaryNoticesAttempted
public long getBinaryNoticesAttempted()
- Specified by:
getBinaryNoticesAttemptedin interfaceNotifdMBean- Returns:
- The total number of binary notifications attempted since Notifd was last started
-
getJavaNoticesAttempted
public long getJavaNoticesAttempted()
- Specified by:
getJavaNoticesAttemptedin interfaceNotifdMBean- Returns:
- The total number of Java notifications attempted since Notifd was last started
-
getBinaryNoticesSucceeded
public long getBinaryNoticesSucceeded()
- Specified by:
getBinaryNoticesSucceededin interfaceNotifdMBean- Returns:
- The total number of attempted binary notifications that succeeded since Notifd was last started
-
getJavaNoticesSucceeded
public long getJavaNoticesSucceeded()
- Specified by:
getJavaNoticesSucceededin interfaceNotifdMBean- Returns:
- The total number of attempted Java notifications that succeeded since Notifd was last started
-
getBinaryNoticesFailed
public long getBinaryNoticesFailed()
- Specified by:
getBinaryNoticesFailedin 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:
getJavaNoticesFailedin 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:
getBinaryNoticesInterruptedin 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:
getJavaNoticesInterruptedin 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:
getUnknownNoticesInterruptedin interfaceNotifdMBean- Returns:
- The total number of unknown notifications that were interrupted (threw an exception) since Notifd was last started.
-
-