public class ConnectionsView extends Object implements ConnectionsViewMBean
Constructor and Description |
---|
ConnectionsView(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
connected() |
void |
destroy() |
protected void |
disconnected() |
int |
getActiveConnections() |
Map |
getActiveConnectionsPerHosts() |
int |
getLast15MinuteConnections() |
int |
getLast24HourConnections() |
int |
getLast5MinuteConnections() |
int |
getLast8HourConnections() |
int |
getLastHourConnections() |
int |
getLastMinuteConnections() |
Date |
getLastResetTime() |
Map |
getRequestSizesMap() |
Map |
getResponseSizesMap() |
protected void |
notifyMessageSize(long size,
boolean isRequest) |
void |
reset() |
void |
setActiveConnectionPerHostEntry(Map<String,AtomicInteger> activeConnectionsPerHost)
Setter method for activeConnectionsPerHost, this will get called during connection creation
and Connection shutdown operations
|
public ConnectionsView(String name)
public void destroy()
protected void connected()
protected void disconnected()
protected void notifyMessageSize(long size, boolean isRequest)
public int getActiveConnections()
getActiveConnections
in interface ConnectionsViewMBean
public int getLastMinuteConnections()
getLastMinuteConnections
in interface ConnectionsViewMBean
public int getLast5MinuteConnections()
getLast5MinuteConnections
in interface ConnectionsViewMBean
public int getLast15MinuteConnections()
getLast15MinuteConnections
in interface ConnectionsViewMBean
public int getLastHourConnections()
getLastHourConnections
in interface ConnectionsViewMBean
public int getLast8HourConnections()
getLast8HourConnections
in interface ConnectionsViewMBean
public int getLast24HourConnections()
getLast24HourConnections
in interface ConnectionsViewMBean
public Map getRequestSizesMap()
getRequestSizesMap
in interface ConnectionsViewMBean
public Map getResponseSizesMap()
getResponseSizesMap
in interface ConnectionsViewMBean
public Date getLastResetTime()
getLastResetTime
in interface ConnectionsViewMBean
public void reset()
reset
in interface ConnectionsViewMBean
public void setActiveConnectionPerHostEntry(Map<String,AtomicInteger> activeConnectionsPerHost)
activeConnectionsPerHost
- public Map getActiveConnectionsPerHosts()
getActiveConnectionsPerHosts
in interface ConnectionsViewMBean
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.