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 ConnectorStatisticspublic long getBytesSent()
getBytesSent in interface ConnectorStatisticspublic long getBytesReceived()
getBytesReceived in interface ConnectorStatisticspublic long getErrorCount()
getErrorCount in interface ConnectorStatisticspublic long getProcessingTime()
getProcessingTime in interface ConnectorStatisticspublic long getMaxProcessingTime()
getMaxProcessingTime in interface ConnectorStatisticspublic void reset()
ConnectorStatisticsreset in interface ConnectorStatisticspublic 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 ConnectorStatisticspublic long getMaxActiveConnections()
getMaxActiveConnections in interface ConnectorStatisticspublic void incrementConnectionCount()
public void decrementConnectionCount()
public long getActiveRequests()
getActiveRequests in interface ConnectorStatisticspublic long getMaxActiveRequests()
getMaxActiveRequests in interface ConnectorStatisticsCopyright © 2020 JBoss by Red Hat. All rights reserved.