Package org.eclipse.jetty.io
Class IncludeExcludeConnectionStatistics
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.io.ConnectionStatistics
-
- org.eclipse.jetty.io.IncludeExcludeConnectionStatistics
-
- All Implemented Interfaces:
Connection.Listener,Dumpable,LifeCycle
public class IncludeExcludeConnectionStatistics extends ConnectionStatistics
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIncludeExcludeConnectionStatistics.ConnectionSet-
Nested classes/interfaces inherited from class org.eclipse.jetty.io.ConnectionStatistics
ConnectionStatistics.Stats
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Connection.Listener
Connection.Listener.Adapter
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
-
Constructor Summary
Constructors Constructor Description IncludeExcludeConnectionStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexclude(java.lang.Class<? extends Connection> clazz)voidexclude(java.lang.String className)voidinclude(java.lang.Class<? extends Connection> clazz)voidinclude(java.lang.String className)voidonClosed(Connection connection)voidonOpened(Connection connection)-
Methods inherited from class org.eclipse.jetty.io.ConnectionStatistics
doStart, dump, getConnectionDurationMax, getConnectionDurationMean, getConnectionDurationStdDev, getConnections, getConnectionsMax, getConnectionStatisticsGroups, getConnectionsTotal, getReceivedBytes, getReceivedBytesRate, getReceivedMessages, getReceivedMessagesRate, getSentBytes, getSentBytesRate, getSentMessages, getSentMessagesRate, onConnectionClosed, onConnectionOpened, onTotalClosed, onTotalOpened, reset, toString
-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, doStop, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
-
-
-
-
Method Detail
-
include
public void include(java.lang.String className) throws java.lang.ClassNotFoundException- Throws:
java.lang.ClassNotFoundException
-
include
public void include(java.lang.Class<? extends Connection> clazz)
-
exclude
public void exclude(java.lang.String className) throws java.lang.ClassNotFoundException- Throws:
java.lang.ClassNotFoundException
-
exclude
public void exclude(java.lang.Class<? extends Connection> clazz)
-
onOpened
public void onOpened(Connection connection)
- Specified by:
onOpenedin interfaceConnection.Listener- Overrides:
onOpenedin classConnectionStatistics
-
onClosed
public void onClosed(Connection connection)
- Specified by:
onClosedin interfaceConnection.Listener- Overrides:
onClosedin classConnectionStatistics
-
-