FileDocCategorySizeDatePackage
HTTPListenerStats.javaAPI DocGlassfish v2 API10281Fri May 04 22:25:48 BST 2007com.sun.enterprise.admin.monitor.stats

HTTPListenerStats

public interface HTTPListenerStats implements javax.management.j2ee.statistics.Stats
A Stats interface to represent the statistical data exposed by an HTTP Listener. This include data about the GlobalRequestProcessor and the ThreadPool. The GlobalRequestProcessor collects data about request processing from each of the RequestProcessor threads.
author
Murali Vempaty
since
S1AS8.0
version
1.0

Fields Summary
Constructors Summary
Methods Summary
public javax.management.j2ee.statistics.CountStatisticgetBytesReceived()
Cumulative value of the bytesReceived by each of the RequestProcessors

return
CountStatistic

public javax.management.j2ee.statistics.CountStatisticgetBytesSent()
Cumulative value of the bytesSent by each of the RequestProcessors

return
CountStatistic

public javax.management.j2ee.statistics.CountStatisticgetCount200()
Returns the number of responses with a status code equal to 200 sent by the HTTP listener whose statistics are exposed by this HTTPListenerStats.

return
Number of responses with a status code equal to 200

public javax.management.j2ee.statistics.CountStatisticgetCount2xx()
Returns the number of responses with a status code in the 2xx range sent by the HTTP listener whose statistics are exposed by this HTTPListenerStats.

return
Number of responses with a status code in the 2xx range

public javax.management.j2ee.statistics.CountStatisticgetCount302()
Returns the number of responses with a status code equal to 302 sent by the HTTP listener whose statistics are exposed by this HTTPListenerStats.

return
Number of responses with a status code equal to 302

public javax.management.j2ee.statistics.CountStatisticgetCount304()
Returns the number of responses with a status code equal to 304 sent by the HTTP listener whose statistics are exposed by this HTTPListenerStats.

return
Number of responses with a status code equal to 304

public javax.management.j2ee.statistics.CountStatisticgetCount3xx()
Returns the number of responses with a status code in the 3xx range sent by the HTTP listener whose statistics are exposed by this HTTPListenerStats.

return
Number of responses with a status code in the 3xx range

public javax.management.j2ee.statistics.CountStatisticgetCount400()
Returns the number of responses with a status code equal to 400 sent by the HTTP listener whose statistics are exposed by this HTTPListenerStats.

return
Number of responses with a status code equal to 400

public javax.management.j2ee.statistics.CountStatisticgetCount401()
Returns the number of responses with a status code equal to 401 sent by the HTTP listener whose statistics are exposed by this HTTPListenerStats.

return
Number of responses with a status code equal to 401

public javax.management.j2ee.statistics.CountStatisticgetCount403()
Returns the number of responses with a status code equal to 403 sent by the HTTP listener whose statistics are exposed by this HTTPListenerStats.

return
Number of responses with a status code equal to 403

public javax.management.j2ee.statistics.CountStatisticgetCount404()
Returns the number of responses with a status code equal to 404 sent by the HTTP listener whose statistics are exposed by this HTTPListenerStats.

return
Number of responses with a status code equal to 404

public javax.management.j2ee.statistics.CountStatisticgetCount4xx()
Returns the number of responses with a status code in the 4xx range sent by the HTTP listener whose statistics are exposed by this HTTPListenerStats.

return
Number of responses with a status code in the 4xx range

public javax.management.j2ee.statistics.CountStatisticgetCount503()
Returns the number of responses with a status code equal to 503 sent by the HTTP listener whose statistics are exposed by this HTTPListenerStats.

return
Number of responses with a status code equal to 503

public javax.management.j2ee.statistics.CountStatisticgetCount5xx()
Returns the number of responses with a status code in the 5xx range sent by the HTTP listener whose statistics are exposed by this HTTPListenerStats.

return
Number of responses with a status code in the 5xx range

public javax.management.j2ee.statistics.CountStatisticgetCountOpenConnections()
Returns the number of open connections managed by the HTTP listener whose statistics are exposed by this HTTPListenerStats.

return
Number of open connections

public javax.management.j2ee.statistics.CountStatisticgetCountOther()
Returns the number of responses with a status code outside the 2xx, 3xx, 4xx, and 5xx range, sent by the HTTP listener whose statistics are exposed by this HTTPListenerStats.

return
Number of responses with a status code outside the 2xx, 3xx, 4xx, and 5xx range

public javax.management.j2ee.statistics.CountStatisticgetCurrentThreadCount()
The number of request processing threads currently in the thread pool

return
CountStatistic

public javax.management.j2ee.statistics.CountStatisticgetCurrentThreadsBusy()
The number of request processing threads currently in the thread pool, serving requests.

return
CountStatistic

public javax.management.j2ee.statistics.CountStatisticgetErrorCount()
Cumulative value of the errorCount of each of the RequestProcessors. The errorCount represents the number of cases where the response code was >= 400

return
CountStatistic

public javax.management.j2ee.statistics.CountStatisticgetMaxOpenConnections()
Returns the maximum number of open connections managed by the HTTP listener whose statistics are exposed by this HTTPListenerStats.

return
Maximum number of open connections

public javax.management.j2ee.statistics.CountStatisticgetMaxSpareThreads()
The maximum number of unused request processing threads that will be allowed to exist until the thread pool starts stopping the unnecessary threads.

return
CountStatistic

public javax.management.j2ee.statistics.CountStatisticgetMaxThreads()
The maximum number of request processing threads that are created by the listener. It determines the maximum number of simultaneous requests that can be handled

return
CountStatistic

public javax.management.j2ee.statistics.CountStatisticgetMaxTime()
The longest response time for a request. This is not a cumulative value, but is the maximum of the response times for each of the RequestProcessors.

return
CountStatistic

public javax.management.j2ee.statistics.CountStatisticgetMinSpareThreads()
The number of request processing threads that will be created when this listener is first started.

return
CountStatistic

public javax.management.j2ee.statistics.CountStatisticgetProcessingTime()
Cumulative value of the processing times of each of the RequestProcessors. The processing time of a RequestProcessor is the average of request processing times over the request count.

return
CountStatistic

public javax.management.j2ee.statistics.CountStatisticgetRequestCount()
Cumulative number of the requests processed so far, by the RequestProcessors.

return
CountStatistic