public class ConnectorStatisticsImpl extends Object implements ConnectorStatistics
| Constructor and Description |
|---|
ConnectorStatisticsImpl() |
| Modifier and Type | Method and Description |
|---|---|
long | getBytesReceived() |
long | getBytesSent() |
long | getErrorCount() |
long | getMaxProcessingTime() |
long | getProcessingTime() |
long | getRequestCount() |
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()
Copyright © 2015 JBoss by Red Hat. All rights reserved.