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:
EventListener
,Connection.Listener
,Dumpable
,LifeCycle
-
Nested Class Summary
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, AbstractLifeCycle.StopException
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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
exclude
(Class<? extends Connection> clazz) void
void
include
(Class<? extends Connection> clazz) void
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
addEventListener, doStop, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stop
-
Constructor Details
-
IncludeExcludeConnectionStatistics
public IncludeExcludeConnectionStatistics()
-
-
Method Details
-
include
- Throws:
ClassNotFoundException
-
include
-
exclude
- Throws:
ClassNotFoundException
-
exclude
-
onOpened
- Specified by:
onOpened
in interfaceConnection.Listener
- Overrides:
onOpened
in classConnectionStatistics
-
onClosed
- Specified by:
onClosed
in interfaceConnection.Listener
- Overrides:
onClosed
in classConnectionStatistics
-