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
-
Nested Class Summary
Nested ClassesNested 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
-
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) void
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, dump, getConnectionDurationMax, getConnectionDurationMean, getConnectionDurationStdDev, getConnections, getConnectionsMax, getConnectionsTotal, getReceivedBytes, getReceivedBytesRate, getReceivedMessages, getReceivedMessagesRate, getSentBytes, getSentBytesRate, getSentMessages, getSentMessagesRate, 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
-
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:
onOpened
in interfaceConnection.Listener
- Overrides:
onOpened
in classConnectionStatistics
-
onClosed
- Specified by:
onClosed
in interfaceConnection.Listener
- Overrides:
onClosed
in classConnectionStatistics
-