public class ConnectorStatisticsImpl extends Object implements ConnectorStatistics
Constructor and Description |
---|
ConnectorStatisticsImpl() |
Modifier and Type | Method and Description |
---|---|
void | decrementConnectionCount() |
long | getActiveConnections() |
long | getActiveRequests() |
long | getBytesReceived() |
long | getBytesSent() |
long | getErrorCount() |
long | getMaxActiveConnections() |
long | getMaxActiveRequests() |
long | getMaxProcessingTime() |
long | getProcessingTime() |
long | getRequestCount() |
void | incrementConnectionCount() |
ByteActivityCallback | receivedAccumulator() |
void | requestFinished(long bytesSent, long bytesReceived, boolean error) |
void | reset() Resets all values to zero |
ByteActivityCallback | sentAccumulator() |
void | setup(HttpServerExchange exchange) |
void | updateBytesReceived(long bytes) |
void | updateBytesSent(long bytes) |
public long getRequestCount()
getRequestCount
in interface ConnectorStatistics
public long getBytesSent()
getBytesSent
in interface ConnectorStatistics
public long getBytesReceived()
getBytesReceived
in interface ConnectorStatistics
public long getErrorCount()
getErrorCount
in interface ConnectorStatistics
public long getProcessingTime()
getProcessingTime
in interface ConnectorStatistics
public long getMaxProcessingTime()
getMaxProcessingTime
in interface ConnectorStatistics
public void reset()
ConnectorStatistics
reset
in interface ConnectorStatistics
public void requestFinished(long bytesSent, long bytesReceived, boolean error)
public void updateBytesSent(long bytes)
public void updateBytesReceived(long bytes)
public void setup(HttpServerExchange exchange)
public ByteActivityCallback sentAccumulator()
public ByteActivityCallback receivedAccumulator()
public long getActiveConnections()
getActiveConnections
in interface ConnectorStatistics
public long getMaxActiveConnections()
getMaxActiveConnections
in interface ConnectorStatistics
public void incrementConnectionCount()
public void decrementConnectionCount()
public long getActiveRequests()
getActiveRequests
in interface ConnectorStatistics
public long getMaxActiveRequests()
getMaxActiveRequests
in interface ConnectorStatistics
Copyright © 2020 JBoss by Red Hat. All rights reserved.