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 long
getHttpConnectionsOpen()
long
getHttpConnectionsOpenMax()
long
getHttpConnectionsTotal()
long
getHttpsConnectionsOpen()
long
getHttpsConnectionsOpenMax()
long
getHttpsConnectionsTotal()
protected java.lang.String
getLoggingPrefix()
getLoggingPrefixprotected 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<JettyServer>
- Returns:
- a
String
object.
-
getSpringContext
protected java.lang.String getSpringContext()
getSpringContext
- Specified by:
getSpringContext
in classAbstractSpringContextJmxServiceDaemon<JettyServer>
- Returns:
- a
String
object.
-
getHttpsConnectionsTotal
public long getHttpsConnectionsTotal()
- Specified by:
getHttpsConnectionsTotal
in interfaceJettyServerMBean
- Returns:
- The total number of HTTPS connections since the JettyServer was started
-
getHttpsConnectionsOpen
public long getHttpsConnectionsOpen()
- Specified by:
getHttpsConnectionsOpen
in interfaceJettyServerMBean
- Returns:
- The current number of HTTPS connections to the JettyServer
-
getHttpsConnectionsOpenMax
public long getHttpsConnectionsOpenMax()
- Specified by:
getHttpsConnectionsOpenMax
in interfaceJettyServerMBean
- Returns:
- The maximum number of concurrent HTTPS connections to the JettyServer since it was started
-
getHttpConnectionsTotal
public long getHttpConnectionsTotal()
- Specified by:
getHttpConnectionsTotal
in interfaceJettyServerMBean
- Returns:
- The total number of plain-HTTP connections since the JettyServer was started
-
getHttpConnectionsOpen
public long getHttpConnectionsOpen()
- Specified by:
getHttpConnectionsOpen
in interfaceJettyServerMBean
- Returns:
- The current number of plain-HTTP connections to the JettyServer
-
getHttpConnectionsOpenMax
public long getHttpConnectionsOpenMax()
- Specified by:
getHttpConnectionsOpenMax
in interfaceJettyServerMBean
- Returns:
- The maximum number of concurrent plain-HTTP connections to the JettyServer since it was started
-
-