Connection.Listener, Dumpable, LifeCycleServerConnectionStatistics instead.@Deprecated @ManagedObject("Connector Statistics") public class ConnectorStatistics extends AbstractLifeCycle implements Dumpable, Connection.Listener
ContainerLifeCycle.addBean(Object)
will register the listener with all connections accepted by that connector.AbstractLifeCycle.AbstractLifeCycleListenerConnection.Listener.AdapterLifeCycle.ListenerFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING| 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(Connection connection) |
Deprecated.
|
void |
onOpened(Connection connection) |
Deprecated.
|
void |
reset() |
Deprecated.
|
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stoppublic void onOpened(Connection connection)
onOpened in interface Connection.Listenerpublic void onClosed(Connection connection)
onClosed in interface 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 AbstractLifeCyclepublic void doStop()
doStop in class AbstractLifeCycle@ManagedOperation("Reset the statistics") public void reset()
@ManagedOperation("dump thread state") public java.lang.String dump()
public void dump(java.lang.Appendable out,
java.lang.String indent)
throws java.io.IOException
public static void addToAllConnectors(Server server)
Copyright © 1995–2018 Webtide. All rights reserved.