Package org.eclipse.jetty.server
Class ConnectorStatistics
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.server.ConnectorStatistics
- All Implemented Interfaces:
Connection.Listener,Dumpable,LifeCycle
@Deprecated
@ManagedObject("Connector Statistics")
public class ConnectorStatistics
extends AbstractLifeCycle
implements Dumpable, Connection.Listener
Deprecated.
A Connector.Listener that gathers Connector and Connections Statistics.
Adding an instance of this class as with
ContainerLifeCycle.addBean(Object)
will register the listener with all connections accepted by that connector.-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListenerNested 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 TypeMethodDescriptionstatic voidaddToAllConnectors(Server server) Deprecated.voiddoStart()Deprecated.voiddoStop()Deprecated.dump()Deprecated.voiddump(Appendable out, String indent) Deprecated.Dump this object (and children) into an Appendable using the provided indent after any new lines.intDeprecated.intDeprecated.longDeprecated.doubleDeprecated.doubleDeprecated.intDeprecated.intDeprecated.intDeprecated.intDeprecated.intDeprecated.doubleDeprecated.doubleDeprecated.intDeprecated.intDeprecated.intDeprecated.doubleDeprecated.doubleDeprecated.intDeprecated.longDeprecated.voidonClosed(Connection connection) Deprecated.voidonOpened(Connection connection) Deprecated.voidreset()Deprecated.Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toString
-
Constructor Details
-
ConnectorStatistics
public ConnectorStatistics()Deprecated.
-
-
Method Details
-
onOpened
Deprecated.- Specified by:
onOpenedin interfaceConnection.Listener
-
onClosed
Deprecated.- Specified by:
onClosedin interfaceConnection.Listener
-
getBytesIn
Deprecated. -
getBytesOut
Deprecated. -
getConnections
Deprecated. -
getConnectionDurationMax
Deprecated. -
getConnectionDurationMean
Deprecated. -
getConnectionDurationStdDev
@ManagedAttribute("Connection duration standard deviation") public double getConnectionDurationStdDev()Deprecated. -
getMessagesIn
Deprecated. -
getMessagesInPerConnectionMax
Deprecated. -
getMessagesInPerConnectionMean
Deprecated. -
getMessagesInPerConnectionStdDev
@ManagedAttribute("Messages In per connection standard deviation") public double getMessagesInPerConnectionStdDev()Deprecated. -
getConnectionsOpen
Deprecated. -
getConnectionsOpenMax
Deprecated. -
getMessagesOut
Deprecated. -
getMessagesOutPerConnectionMax
Deprecated. -
getMessagesOutPerConnectionMean
@ManagedAttribute("Messages In per connection mean") public double getMessagesOutPerConnectionMean()Deprecated. -
getMessagesOutPerConnectionStdDev
@ManagedAttribute("Messages In per connection standard deviation") public double getMessagesOutPerConnectionStdDev()Deprecated. -
getStartedMillis
Deprecated. -
getMessagesInPerSecond
@ManagedAttribute("Messages in per second calculated over period since last called") public int getMessagesInPerSecond()Deprecated. -
getMessagesOutPerSecond
@ManagedAttribute("Messages out per second calculated over period since last called") public int getMessagesOutPerSecond()Deprecated. -
doStart
public void doStart()Deprecated. -
doStop
public void doStop()Deprecated. -
reset
Deprecated. -
dump
Deprecated. -
dump
Deprecated.Description copied from interface:DumpableDump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.- Specified by:
dumpin interfaceDumpable- Parameters:
out- The appendable to dump toindent- The indent to apply after any new lines.- Throws:
IOException- if unable to write to Appendable
-
addToAllConnectors
Deprecated.
-
ConnectionStatisticsinstead.