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
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class ConnectionStatistics
ConnectionStatistics.StatsNested classes/interfaces inherited from class AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListenerNested classes/interfaces inherited from interface Connection.Listener
Connection.Listener.AdapterNested classes/interfaces inherited from interface Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface LifeCycle
LifeCycle.Listener -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IncludeExcludeSet<Class<? extends Connection>, Connection> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Class<? extends Connection> connectionForName(String className) voidexclude(Class<? extends Connection> clazz) voidvoidinclude(Class<? extends Connection> clazz) voidvoidonClosed(Connection connection) voidonOpened(Connection connection) Methods inherited from class 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 AbstractLifeCycle
addLifeCycleListener, doStop, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
-
Field Details
-
_set
-
-
Constructor Details
-
IncludeExcludeConnectionStatistics
public IncludeExcludeConnectionStatistics()
-
-
Method Details
-
include
- Throws:
ClassNotFoundException
-
include
-
exclude
- Throws:
ClassNotFoundException
-
exclude
-
connectionForName
private Class<? extends Connection> connectionForName(String className) throws ClassNotFoundException - Throws:
ClassNotFoundException
-
onOpened
- Specified by:
onOpenedin interfaceConnection.Listener- Overrides:
onOpenedin classConnectionStatistics
-
onClosed
- Specified by:
onClosedin interfaceConnection.Listener- Overrides:
onClosedin classConnectionStatistics
-