Java EE 5 SDK

com.sun.appserv.management.monitor.statistics
Interface ConnectionQueueStats

All Superinterfaces:
Stats

public interface ConnectionQueueStats
extends Stats

See Also:
ConnectionQueueMonitor

Method Summary
 CountStatistic getCountOverflows()
          Gets the number of times the queue has been too full to accommodate a connection
 CountStatistic getCountQueued()
           
 CountStatistic getCountQueued15MinuteAverage()
          Gets the average number of connections queued in the last 15 minutes
 CountStatistic getCountQueued1MinuteAverage()
          Gets the average number of connections queued in the last 1 minute
 CountStatistic getCountQueued5MinuteAverage()
          Gets the average number of connections queued in the last 5 minutes
 CountStatistic getCountTotalConnections()
           
 CountStatistic getCountTotalQueued()
          Gets the total number of connections that have been queued.
 StringStatistic getID()
           
 CountStatistic getMaxQueued()
          Gets the maximum size of the connection queue
 CountStatistic getPeakQueued()
          Gets the largest number of connections that were in the queue simultaneously.
 CountStatistic getTicksTotalQueued()
          Gets the total number of ticks that connections have spent in the queue.
 
Methods inherited from interface javax.management.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Method Detail

getCountTotalQueued

CountStatistic getCountTotalQueued()
Gets the total number of connections that have been queued.

A given connection may be queued multiple times, so CountTotalQueued may be greater than or equal to CountTotalConnections.

Returns:
number of connections queued

getCountOverflows

CountStatistic getCountOverflows()
Gets the number of times the queue has been too full to accommodate a connection

Returns:
number of overflows

getCountTotalConnections

CountStatistic getCountTotalConnections()
Returns:
total number of connections that have been accepted.

getCountQueued5MinuteAverage

CountStatistic getCountQueued5MinuteAverage()
Gets the average number of connections queued in the last 5 minutes

Returns:
average

getTicksTotalQueued

CountStatistic getTicksTotalQueued()
Gets the total number of ticks that connections have spent in the queue. A tick is a system-dependent unit of time.

Returns:
number of ticks

getCountQueued1MinuteAverage

CountStatistic getCountQueued1MinuteAverage()
Gets the average number of connections queued in the last 1 minute

Returns:
average number

getCountQueued15MinuteAverage

CountStatistic getCountQueued15MinuteAverage()
Gets the average number of connections queued in the last 15 minutes

Returns:
average number

getMaxQueued

CountStatistic getMaxQueued()
Gets the maximum size of the connection queue

Returns:
the maximum size

getPeakQueued

CountStatistic getPeakQueued()
Gets the largest number of connections that were in the queue simultaneously.

Returns:
the count

getID

StringStatistic getID()
Returns:
The ID of the connection queue

getCountQueued

CountStatistic getCountQueued()
Returns:
number of connections currently in the queue

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.