Top Fields Constructors Methods
io.undertow.server

public Class AggregateConnectorStatistics

extends Object
implements ConnectorStatistics
Class Inheritance
All Implemented Interfaces
io.undertow.server.ConnectorStatistics

Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private final ConnectorStatistics[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public long
public long
public long
public long
public long
public long
public long
public long
public long
public long
public void
reset()

Implements io.undertow.server.ConnectorStatistics.reset.

Resets all values to zero

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

connectorStatisticsback to summary
private final ConnectorStatistics[] connectorStatistics

Constructor Detail

AggregateConnectorStatisticsback to summary
public AggregateConnectorStatistics(ConnectorStatistics[] connectorStatistics)

Method Detail

getActiveConnectionsback to summary
public long getActiveConnections()

Implements io.undertow.server.ConnectorStatistics.getActiveConnections.

Returns:long

Doc from io.undertow.server.ConnectorStatistics.getActiveConnections.

The current number of active connections

Annotations
@Override
getActiveRequestsback to summary
public long getActiveRequests()

Implements io.undertow.server.ConnectorStatistics.getActiveRequests.

Returns:long

Doc from io.undertow.server.ConnectorStatistics.getActiveRequests.

The current number of active requests

Annotations
@Override
getBytesReceivedback to summary
public long getBytesReceived()

Implements io.undertow.server.ConnectorStatistics.getBytesReceived.

Returns:long

Doc from io.undertow.server.ConnectorStatistics.getBytesReceived.

The number of bytes that have been received by this connector

Annotations
@Override
getBytesSentback to summary
public long getBytesSent()

Implements io.undertow.server.ConnectorStatistics.getBytesSent.

Returns:long

Doc from io.undertow.server.ConnectorStatistics.getBytesSent.

The number of bytes sent on this connector

Annotations
@Override
getErrorCountback to summary
public long getErrorCount()

Implements io.undertow.server.ConnectorStatistics.getErrorCount.

Returns:long

Doc from io.undertow.server.ConnectorStatistics.getErrorCount.

The number of requests that triggered an error (i.e. 500) response.

Annotations
@Override
getMaxActiveConnectionsback to summary
public long getMaxActiveConnections()

Implements io.undertow.server.ConnectorStatistics.getMaxActiveConnections.

Returns:long

Doc from io.undertow.server.ConnectorStatistics.getMaxActiveConnections.

The maximum number of active connections that have every been active on this connector

Annotations
@Override
getMaxActiveRequestsback to summary
public long getMaxActiveRequests()

Implements io.undertow.server.ConnectorStatistics.getMaxActiveRequests.

Returns:long

Doc from io.undertow.server.ConnectorStatistics.getMaxActiveRequests.

The maximum number of active requests

Annotations
@Override
getMaxProcessingTimeback to summary
public long getMaxProcessingTime()

Implements io.undertow.server.ConnectorStatistics.getMaxProcessingTime.

Returns:long

Doc from io.undertow.server.ConnectorStatistics.getMaxProcessingTime.

The time taken by the slowest request (nanoseconds)

Annotations
@Override
getProcessingTimeback to summary
public long getProcessingTime()

Implements io.undertow.server.ConnectorStatistics.getProcessingTime.

Returns:long

Doc from io.undertow.server.ConnectorStatistics.getProcessingTime.

The total amount of time spent processing all requests on this connector (nanoseconds)

Annotations
@Override
getRequestCountback to summary
public long getRequestCount()

Implements io.undertow.server.ConnectorStatistics.getRequestCount.

Returns:long

Doc from io.undertow.server.ConnectorStatistics.getRequestCount.

The number of requests processed by this connector

Annotations
@Override
resetback to summary
public void reset()

Implements io.undertow.server.ConnectorStatistics.reset.

Doc from io.undertow.server.ConnectorStatistics.reset.

Resets all values to zero

Annotations
@Override