public class IncludeExcludeConnectionStatistics extends ConnectionStatistics
Modifier and Type | Class and Description |
---|---|
static class |
IncludeExcludeConnectionStatistics.ConnectionSet |
AbstractLifeCycle.AbstractLifeCycleListener
Connection.Listener.Adapter
Dumpable.DumpableContainer
LifeCycle.Listener
Constructor and Description |
---|
IncludeExcludeConnectionStatistics() |
Modifier and Type | Method and Description |
---|---|
void |
exclude(java.lang.Class<? extends Connection> clazz) |
void |
exclude(java.lang.String className) |
void |
include(java.lang.Class<? extends Connection> clazz) |
void |
include(java.lang.String className) |
void |
onClosed(Connection connection) |
void |
onOpened(Connection connection) |
doStart, dump, dump, getConnectionDurationMax, getConnectionDurationMean, getConnectionDurationStdDev, getConnections, getConnectionsMax, getConnectionsTotal, getReceivedBytes, getReceivedBytesRate, getReceivedMessages, getReceivedMessagesRate, getSentBytes, getSentBytesRate, getSentMessages, getSentMessagesRate, reset, toString
addLifeCycleListener, doStop, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dump, dumpContainer, dumpIterable, dumpMapEntries, dumpObject, dumpObjects, dumpSelf, named
public void include(java.lang.String className) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public void include(java.lang.Class<? extends Connection> clazz)
public void exclude(java.lang.String className) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public void exclude(java.lang.Class<? extends Connection> clazz)
public void onOpened(Connection connection)
onOpened
in interface Connection.Listener
onOpened
in class ConnectionStatistics
public void onClosed(Connection connection)
onClosed
in interface Connection.Listener
onClosed
in class ConnectionStatistics
Copyright © 1995–2021 Webtide. All rights reserved.