Package org.opennms.netmgt.jetty.jmx
Class JettyServer
- java.lang.Object
-
- org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon<JettyServer>
-
- org.opennms.netmgt.jetty.jmx.JettyServer
-
- All Implemented Interfaces:
BaseOnmsMBean,JettyServerMBean
public class JettyServer extends AbstractSpringContextJmxServiceDaemon<JettyServer> implements JettyServerMBean
JettyServer class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon
DAEMON_BEAN_NAME
-
-
Constructor Summary
Constructors Constructor Description JettyServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetHttpConnectionsOpen()longgetHttpConnectionsOpenMax()longgetHttpConnectionsTotal()longgetHttpsConnectionsOpen()longgetHttpsConnectionsOpenMax()longgetHttpsConnectionsTotal()protected StringgetLoggingPrefix()getLoggingPrefixprotected 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<JettyServer>- Returns:
- a
Stringobject.
-
getSpringContext
protected String getSpringContext()
getSpringContext
- Specified by:
getSpringContextin classAbstractSpringContextJmxServiceDaemon<JettyServer>- Returns:
- a
Stringobject.
-
getHttpsConnectionsTotal
public long getHttpsConnectionsTotal()
- Specified by:
getHttpsConnectionsTotalin interfaceJettyServerMBean- Returns:
- The total number of HTTPS connections since the JettyServer was started
-
getHttpsConnectionsOpen
public long getHttpsConnectionsOpen()
- Specified by:
getHttpsConnectionsOpenin interfaceJettyServerMBean- Returns:
- The current number of HTTPS connections to the JettyServer
-
getHttpsConnectionsOpenMax
public long getHttpsConnectionsOpenMax()
- Specified by:
getHttpsConnectionsOpenMaxin interfaceJettyServerMBean- Returns:
- The maximum number of concurrent HTTPS connections to the JettyServer since it was started
-
getHttpConnectionsTotal
public long getHttpConnectionsTotal()
- Specified by:
getHttpConnectionsTotalin interfaceJettyServerMBean- Returns:
- The total number of plain-HTTP connections since the JettyServer was started
-
getHttpConnectionsOpen
public long getHttpConnectionsOpen()
- Specified by:
getHttpConnectionsOpenin interfaceJettyServerMBean- Returns:
- The current number of plain-HTTP connections to the JettyServer
-
getHttpConnectionsOpenMax
public long getHttpConnectionsOpenMax()
- Specified by:
getHttpConnectionsOpenMaxin interfaceJettyServerMBean- Returns:
- The maximum number of concurrent plain-HTTP connections to the JettyServer since it was started
-
-