Package net.targetr.wtm3
Class Stats
java.lang.Object
net.targetr.wtm3.Stats
Statistics for monitoring web server network activity.
- Author:
- Dr Michael Gardiner
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AtomicLong
static final AtomicLong
static final AtomicLong
static final AtomicLong
static final AtomicLong
static final AtomicLong
static final String
static final AtomicLong
static final AtomicLong
static final AtomicLong
static final AtomicLong
static final AtomicLong
static final AtomicLong
-
Method Summary
Modifier and TypeMethodDescriptionReturns a map of response codes and counts for statisitcal purposes.static void
logResponseCode
(Integer code) Logs a response code for statistical purposes.
-
Field Details
-
INSTANCE_ID
-
CONNECTION_START_COUNT
-
CONNECTION_END_COUNT
-
REQUEST_START_COUNT
-
REQUEST_END_COUNT
-
GENERATOR_START_COUNT
-
GENERATOR_END_COUNT
-
RESPONSE_START_COUNT
-
RESPONSE_END_COUNT
-
WEB_SOCKET_FRAMES_OUT
-
WEB_SOCKET_FRAMES_IN
-
INGRESS
-
EGRESS
-
-
Method Details
-
logResponseCode
Logs a response code for statistical purposes.- Parameters:
code
- The response code to log.
-
getResponseCodeCounts
Returns a map of response codes and counts for statisitcal purposes.- Returns:
- response codes and counts in a map.
-