org.eclipse.jetty.io.Connection.Listener, org.eclipse.jetty.util.component.DumpableServerConnectionStatistics instead.@Deprecated
@ManagedObject("Connector Statistics")
public class ConnectorStatistics
extends org.eclipse.jetty.util.component.AbstractLifeCycle
implements org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.io.Connection.Listener
ContainerLifeCycle.addBean(Object)
will register the listener with all connections accepted by that connector.org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener| Constructor | Description |
|---|---|
ConnectorStatistics() |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
addToAllConnectors(Server server) |
Deprecated.
|
void |
doStart() |
Deprecated.
|
void |
doStop() |
Deprecated.
|
java.lang.String |
dump() |
Deprecated.
|
void |
dump(java.lang.Appendable out,
java.lang.String indent) |
Deprecated.
|
int |
getBytesIn() |
Deprecated.
|
int |
getBytesOut() |
Deprecated.
|
long |
getConnectionDurationMax() |
Deprecated.
|
double |
getConnectionDurationMean() |
Deprecated.
|
double |
getConnectionDurationStdDev() |
Deprecated.
|
int |
getConnections() |
Deprecated.
|
int |
getConnectionsOpen() |
Deprecated.
|
int |
getConnectionsOpenMax() |
Deprecated.
|
int |
getMessagesIn() |
Deprecated.
|
int |
getMessagesInPerConnectionMax() |
Deprecated.
|
double |
getMessagesInPerConnectionMean() |
Deprecated.
|
double |
getMessagesInPerConnectionStdDev() |
Deprecated.
|
int |
getMessagesInPerSecond() |
Deprecated.
|
int |
getMessagesOut() |
Deprecated.
|
int |
getMessagesOutPerConnectionMax() |
Deprecated.
|
double |
getMessagesOutPerConnectionMean() |
Deprecated.
|
double |
getMessagesOutPerConnectionStdDev() |
Deprecated.
|
int |
getMessagesOutPerSecond() |
Deprecated.
|
long |
getStartedMillis() |
Deprecated.
|
void |
onClosed(org.eclipse.jetty.io.Connection connection) |
Deprecated.
|
void |
onOpened(org.eclipse.jetty.io.Connection connection) |
Deprecated.
|
void |
reset() |
Deprecated.
|
public void onOpened(org.eclipse.jetty.io.Connection connection)
onOpened in interface org.eclipse.jetty.io.Connection.Listenerpublic void onClosed(org.eclipse.jetty.io.Connection connection)
onClosed in interface org.eclipse.jetty.io.Connection.Listener@ManagedAttribute("Total number of bytes received by this connector")
public int getBytesIn()
@ManagedAttribute("Total number of bytes sent by this connector")
public int getBytesOut()
@ManagedAttribute("Total number of connections seen by this connector")
public int getConnections()
@ManagedAttribute("Connection duration maximum in ms")
public long getConnectionDurationMax()
@ManagedAttribute("Connection duration mean in ms")
public double getConnectionDurationMean()
@ManagedAttribute("Connection duration standard deviation")
public double getConnectionDurationStdDev()
@ManagedAttribute("Messages In for all connections")
public int getMessagesIn()
@ManagedAttribute("Messages In per connection maximum")
public int getMessagesInPerConnectionMax()
@ManagedAttribute("Messages In per connection mean")
public double getMessagesInPerConnectionMean()
@ManagedAttribute("Messages In per connection standard deviation")
public double getMessagesInPerConnectionStdDev()
@ManagedAttribute("Connections open")
public int getConnectionsOpen()
@ManagedAttribute("Connections open maximum")
public int getConnectionsOpenMax()
@ManagedAttribute("Messages Out for all connections")
public int getMessagesOut()
@ManagedAttribute("Messages In per connection maximum")
public int getMessagesOutPerConnectionMax()
@ManagedAttribute("Messages In per connection mean")
public double getMessagesOutPerConnectionMean()
@ManagedAttribute("Messages In per connection standard deviation")
public double getMessagesOutPerConnectionStdDev()
@ManagedAttribute("Connection statistics started ms since epoch")
public long getStartedMillis()
@ManagedAttribute("Messages in per second calculated over period since last called")
public int getMessagesInPerSecond()
@ManagedAttribute("Messages out per second calculated over period since last called")
public int getMessagesOutPerSecond()
public void doStart()
doStart in class org.eclipse.jetty.util.component.AbstractLifeCyclepublic void doStop()
doStop in class org.eclipse.jetty.util.component.AbstractLifeCycle@ManagedOperation("Reset the statistics")
public void reset()
@ManagedOperation("dump thread state")
public java.lang.String dump()
dump in interface org.eclipse.jetty.util.component.Dumpablepublic void dump(java.lang.Appendable out,
java.lang.String indent)
throws java.io.IOException
dump in interface org.eclipse.jetty.util.component.Dumpablejava.io.IOExceptionpublic static void addToAllConnectors(Server server)
Copyright © 1995–2018 Webtide. All rights reserved.