DiagnosticContextHelper
public interface DiagnosticContextConstants
This interface defines the indices of dye flags supported by the the WebLogic diagnostics system. Dyes are carried by the diagnostic contexts created for requests flowing through the system.
Modifier and Type | Field | Description |
---|---|---|
static byte |
ADDR1 |
The dye flags ADDR1, ADDR2, ADDR3 and ADDR4 are set in the diagnostic
context for a request, if the request was originated from an IP address
specified by the respective property (ADDR1, ADDR2, ADDR3, ADDR4) of the
DyeInjection monitor.
|
static byte |
ADDR2 |
|
static byte |
ADDR3 |
|
static byte |
ADDR4 |
|
static byte |
CONNECTOR1 |
The dye flags CONNECTOR1, CONNECTOR2, CONNECTOR3 and CONNECTOR4 are set by
the connector drivers to identify request properties specific to their situations.
|
static byte |
CONNECTOR2 |
|
static byte |
CONNECTOR3 |
|
static byte |
CONNECTOR4 |
|
static byte |
COOKIE1 |
The dye flags COOKIE1, COOKIE2, COOKIE3 and COOKIE4 are set in the diagnostic
context for an HTTP/S request, if it contains the cookie named "weblogic.diagnostics.dye"
and its value is equal to the value of the respective property (COOKIE1, COOKIE2, COOKIE3, COOKIE4)
of the DyeInjection monitor.
|
static byte |
COOKIE2 |
|
static byte |
COOKIE3 |
|
static byte |
COOKIE4 |
|
static byte |
DYE_0 |
Dye flags DYE_0 to DYE_7 are available for use by application developers.
|
static byte |
DYE_1 |
|
static byte |
DYE_2 |
|
static byte |
DYE_3 |
|
static byte |
DYE_4 |
|
static byte |
DYE_6 |
|
static byte |
DYE_7 |
|
static byte |
PROTOCOL_HTTP |
The dye PROTOCOL_HTTP will be set in the diagnostic context of a request
if the request uses http or https protocol
|
static byte |
PROTOCOL_IIOP |
The dye PROTOCOL_IIOP will be set in the diagnostic context of a request
if it uses IIOP.
|
static byte |
PROTOCOL_JRMP |
The dye PROTOCOL_JRMP will be set in the diagnostic context of a request
if it uses JRMP.
|
static byte |
PROTOCOL_RMI |
The dye PROTOCOL_RMI will be set in the diagnostic context of a request
if it uses RMI.
|
static byte |
PROTOCOL_SSL |
The dye PROTOCOL_SSL will be set in the diagnostic context of a request
if it uses SSL.
|
static byte |
PROTOCOL_T3 |
The dye PROTOCOL_T3 will be set in the diagnostic context of a request
if the request uses t3 or t3s protocol
|
static byte |
THROTTLE |
The dye THROTTLE will be set in the diagnostic context of a request
by the DyeInjection monitor, if it satisfies requirements specified by
THROTTLE_INTERVAL and/or THROTTLE_RATE properties of the DyeInjection monitor.
|
static byte |
USER1 |
The dye flags USER1, USER2, USER3 and USER4 are set in the diagnostic
context for a request, if the request was originated by a user
specified by the respective property (USER1, USER2, USER3, USER4) of the
DyeInjection monitor.
|
static byte |
USER2 |
|
static byte |
USER3 |
|
static byte |
USER4 |
static final byte ADDR1
The dye flags ADDR1, ADDR2, ADDR3 and ADDR4 are set in the diagnostic context for a request, if the request was originated from an IP address specified by the respective property (ADDR1, ADDR2, ADDR3, ADDR4) of the DyeInjection monitor. For example, if the DyeInjection monitor is configured with:
ADDR1=127.0.0.1
ADDR4=192.168.0.10
and if the request was originated from 127.0.0.1 then ADDR1 dye in the diagnostic context will be set. On the other hand, if the request was originated from 192.168.0.10, then ADDR4 dye will be set in the diagnostic context.
static final byte ADDR2
ADDR1
,
Constant Field Valuesstatic final byte ADDR3
ADDR1
,
Constant Field Valuesstatic final byte ADDR4
ADDR1
,
Constant Field Valuesstatic final byte USER1
The dye flags USER1, USER2, USER3 and USER4 are set in the diagnostic context for a request, if the request was originated by a user specified by the respective property (USER1, USER2, USER3, USER4) of the DyeInjection monitor. For example, if the DyeInjection monitor is configured with:
USER1=john
USER4=jane
and if the request was originated by user "john" then USER1 dye in the diagnostic context will be set. On the other hand, if the request was originated by user "jane", then USER4 dye will be set in the diagnostic context.
static final byte USER2
USER1
,
Constant Field Valuesstatic final byte USER3
USER1
,
Constant Field Valuesstatic final byte USER4
USER1
,
Constant Field Valuesstatic final byte COOKIE1
COOKIE1=foo
COOKIE4=bar
static final byte COOKIE2
COOKIE1
,
Constant Field Valuesstatic final byte COOKIE3
COOKIE1
,
Constant Field Valuesstatic final byte COOKIE4
COOKIE1
,
Constant Field Valuesstatic final byte PROTOCOL_T3
The dye PROTOCOL_T3 will be set in the diagnostic context of a request if the request uses t3 or t3s protocol
static final byte PROTOCOL_HTTP
The dye PROTOCOL_HTTP will be set in the diagnostic context of a request if the request uses http or https protocol
static final byte PROTOCOL_RMI
The dye PROTOCOL_RMI will be set in the diagnostic context of a request if it uses RMI.
static final byte PROTOCOL_IIOP
The dye PROTOCOL_IIOP will be set in the diagnostic context of a request if it uses IIOP.
static final byte PROTOCOL_JRMP
The dye PROTOCOL_JRMP will be set in the diagnostic context of a request if it uses JRMP.
static final byte PROTOCOL_SSL
The dye PROTOCOL_SSL will be set in the diagnostic context of a request if it uses SSL.
static final byte CONNECTOR1
The dye flags CONNECTOR1, CONNECTOR2, CONNECTOR3 and CONNECTOR4 are set by the connector drivers to identify request properties specific to their situations. As such, WLDF does not assign any specific meaning to the connector specific dye flags.
static final byte CONNECTOR2
CONNECTOR1
,
Constant Field Valuesstatic final byte CONNECTOR3
CONNECTOR1
,
Constant Field Valuesstatic final byte CONNECTOR4
CONNECTOR1
,
Constant Field Valuesstatic final byte THROTTLE
The dye THROTTLE will be set in the diagnostic context of a request by the DyeInjection monitor, if it satisfies requirements specified by THROTTLE_INTERVAL and/or THROTTLE_RATE properties of the DyeInjection monitor. If THROTTLE_INTERVAL is specified, this dye is set if the last request for which the dye was set arrived at least THROTTLE_INTERVAL milliseconds before this request. If THROTTLE_RATE is specified, for every THROTTLE_RATE'th request this dye will be set. If both THROTTLE_INTERVAL and THROTTLE_RATE are specified, the dye is set if either condition is met. If neither THROTTLE_INTERVAL nor THROTTLE_RATE are specified, the dye will be unconditionally set.
static final byte DYE_0
Dye flags DYE_0 to DYE_7 are available for use by application developers. They can set, reset or inspected in the diagnostic context using API provided by the helper class DiagnosticContextHelper. As such, WLDF does not assign any specific meaning to these dyes. The meaning of these dyes is upto the applications.
static final byte DYE_1
DYE_0
,
Constant Field Valuesstatic final byte DYE_2
DYE_0
,
Constant Field Valuesstatic final byte DYE_3
DYE_0
,
Constant Field Valuesstatic final byte DYE_4
DYE_0
,
Constant Field Valuesstatic final byte DYE_6
DYE_0
,
Constant Field Valuesstatic final byte DYE_7
DYE_0
,
Constant Field Values