Top Description Methods
io.undertow.server

public Interface ConnectorStatistics

Known Direct Implementers
io.undertow.server.ConnectorStatisticsImpl, io.undertow.server.AggregateConnectorStatistics

Connector level statistics
Author
Stuart Douglas

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

The current number of active connections
getActiveConnections
()

public long

Returns:

The current number of active requests
getActiveRequests
()

public long

Returns:

The number of bytes that have been received by this connector
getBytesReceived
()

public long

Returns:

The number of bytes sent on this connector
getBytesSent
()

public long

Returns:

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

public long

Returns:

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

public long

Returns:

The maximum number of active requests
getMaxActiveRequests
()

public long

Returns:

The time taken by the slowest request (nanoseconds)
getMaxProcessingTime
()

public long

Returns:

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

public long

Returns:

The number of requests processed by this connector
getRequestCount
()

public void
reset()

Resets all values to zero

Method Detail

getActiveConnectionsback to summary
public long getActiveConnections()
Returns:long

The current number of active connections

getActiveRequestsback to summary
public long getActiveRequests()
Returns:long

The current number of active requests

getBytesReceivedback to summary
public long getBytesReceived()
Returns:long

The number of bytes that have been received by this connector

getBytesSentback to summary
public long getBytesSent()
Returns:long

The number of bytes sent on this connector

getErrorCountback to summary
public long getErrorCount()
Returns:long

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

getMaxActiveConnectionsback to summary
public long getMaxActiveConnections()
Returns:long

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

getMaxActiveRequestsback to summary
public long getMaxActiveRequests()
Returns:long

The maximum number of active requests

getMaxProcessingTimeback to summary
public long getMaxProcessingTime()
Returns:long

The time taken by the slowest request (nanoseconds)

getProcessingTimeback to summary
public long getProcessingTime()
Returns:long

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

getRequestCountback to summary
public long getRequestCount()
Returns:long

The number of requests processed by this connector

resetback to summary
public void reset()

Resets all values to zero