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 class
IncludeExcludeConnectionStatistics.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 void
exclude(java.lang.Class<? extends Connection> clazz)
void
exclude(java.lang.String className)
void
include(java.lang.Class<? extends Connection> clazz)
void
include(java.lang.String className)
void
onClosed(Connection connection)
void
onOpened(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:
onOpened
in interfaceConnection.Listener
- Overrides:
onOpened
in classConnectionStatistics
-
onClosed
public void onClosed(Connection connection)
- Specified by:
onClosed
in interfaceConnection.Listener
- Overrides:
onClosed
in classConnectionStatistics
-
-