FileDocCategorySizeDatePackage
ConnectionQueueStats.javaAPI DocGlassfish v2 API4478Fri May 04 22:31:02 BST 2007com.sun.appserv.management.monitor.statistics

ConnectionQueueStats

public interface ConnectionQueueStats implements javax.management.j2ee.statistics.Stats
see
com.sun.appserv.management.monitor.ConnectionQueueMonitor

Fields Summary
Constructors Summary
Methods Summary
public javax.management.j2ee.statistics.CountStatisticgetCountOverflows()
Gets the number of times the queue has been too full to accommodate a connection

return
number of overflows

public javax.management.j2ee.statistics.CountStatisticgetCountQueued()

return
number of connections currently in the queue

public javax.management.j2ee.statistics.CountStatisticgetCountQueued15MinuteAverage()
Gets the average number of connections queued in the last 15 minutes

return
average number

public javax.management.j2ee.statistics.CountStatisticgetCountQueued1MinuteAverage()
Gets the average number of connections queued in the last 1 minute

return
average number

public javax.management.j2ee.statistics.CountStatisticgetCountQueued5MinuteAverage()
Gets the average number of connections queued in the last 5 minutes

return
average

public javax.management.j2ee.statistics.CountStatisticgetCountTotalConnections()

return
total number of connections that have been accepted.

public javax.management.j2ee.statistics.CountStatisticgetCountTotalQueued()
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.

return
number of connections queued

public com.sun.appserv.management.j2ee.statistics.StringStatisticgetID()

return
The ID of the connection queue

public javax.management.j2ee.statistics.CountStatisticgetMaxQueued()
Gets the maximum size of the connection queue

return
the maximum size

public javax.management.j2ee.statistics.CountStatisticgetPeakQueued()
Gets the largest number of connections that were in the queue simultaneously.

return
the count

public javax.management.j2ee.statistics.CountStatisticgetTicksTotalQueued()
Gets the total number of ticks that connections have spent in the queue. A tick is a system-dependent unit of time.

return
number of ticks