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 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()
Copyright © 2015 JBoss by Red Hat. All rights reserved.