|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.grizzly.http.PipelineStatistic
public class PipelineStatistic
This class is a placeholde for gathering statistic
from a Pipeline
Constructor Summary | |
---|---|
PipelineStatistic(int port)
Constructor |
Method Summary | |
---|---|
boolean |
gather(int queueLength)
Gather Pipeline statistic. |
int |
getCountOverflows()
Total number of pipeline overflow |
int |
getCountQueued()
Gets the number of connections currently in the queue |
int |
getCountQueued15MinuteAverage()
Gets the average number of connections queued in the last 15 minutes |
int |
getCountQueued1MinuteAverage()
Gets the average number of connections queued in the last 1 minute |
int |
getCountQueued5MinuteAverage()
Gets the average number of connections queued in the last 5 minutes |
int |
getCountTotalConnections()
Gets the total number of connections that have been accepted. |
int |
getCountTotalQueued()
Gets the total number of connections that have been queued. |
int |
getMaxQueued()
Gets the maximum size of the connection queue |
int |
getPeakQueued()
Gets the largest number of connections that were in the queue simultaneously. |
int |
getQueueSizeInBytes()
Get the maximum pending connection this Pipeline
can handle. |
int |
getTicksTotalQueued()
Gets the total number of ticks that connections have spent in the queue. |
void |
incrementTotalAcceptCount()
|
void |
setQueueSizeInBytes(int maxQueueSizeInBytesCount)
Set the maximum pending connection this Pipeline
can handle. |
void |
start()
Start gathering statistics. |
void |
stop()
Stop gathering statistics. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PipelineStatistic(int port)
port
- Port number for which pipeline (connection) stats will be
gatheredMethod Detail |
---|
public void start()
public void stop()
public boolean gather(int queueLength)
Pipeline
statistic.
public int getCountOverflows()
public int getPeakQueued()
public int getMaxQueued()
public int getCountTotalConnections()
public void setQueueSizeInBytes(int maxQueueSizeInBytesCount)
Pipeline
can handle.
public int getQueueSizeInBytes()
Pipeline
can handle.
public int getCountTotalQueued()
counttotalqueued
may be greater than or equal to
counttotalconnections
.
public int getCountQueued()
public int getTicksTotalQueued()
public int getCountQueued1MinuteAverage()
public int getCountQueued5MinuteAverage()
public int getCountQueued15MinuteAverage()
public void incrementTotalAcceptCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |