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 ClassesNested classes/interfaces inherited from class org.eclipse.jetty.io.ConnectionStatistics
ConnectionStatistics.StatsNested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface org.eclipse.jetty.io.Connection.Listener
Connection.Listener.AdapterNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexclude(Class<? extends Connection> clazz) voidvoidinclude(Class<? extends Connection> clazz) voidvoidonClosed(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, toStringMethods 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:
onOpenedin interfaceConnection.Listener- Overrides:
onOpenedin classConnectionStatistics
-
onClosed
- Specified by:
onClosedin interfaceConnection.Listener- Overrides:
onClosedin classConnectionStatistics
-