Product Information > JADE Object Manager Guide > Chapter 4 - JADE System Instrumentation and Diagnosis > ProcessextractWebStatistics Method

Process::extractWebStatistics Method

extractWebStatistics(proc: Process output;
                      jdo: JadeDynamicObject input;
                      any: Any);

The Process class extractWebStatistics method extracts Web performance statistics from the userInfo part of notifications sent in response to sendWebStatistics method requests, defined in the Process class.

The extracted statistics are inserted as properties in a JadeDynamicObject instance.

The parameters for the extractWebStatistics method are listed in the following table.

Parameter Description
proc An output parameter that receives a reference to the Process instance to which the statistics relate
jdo A JadeDynamicObject instance into which the statistics values are placed as properties
any The value of the userInfo parameter of the notification that was received

The calling process is responsible for creating the JadeDynamicObject instance that is used as the jdo parameter. Any existing properties that the instance has are cleared every time the method is called. If the process that sent the notification is not using Web services, no properties are added to the JadeDynamicObject instance.

If the process is using Web services, the properties listed in the following table are added.

Property Type
maximumResponseTime Integer64 (milliseconds)
minimumResponseTime Integer64 (milliseconds)
totalRequests Integer64
totalResponseTime Integer64 (milliseconds)
rejectedRequests Integer64

If the any parameter is not recognized as containing encoded Web statistics values, exception 1000 (Invalid parameter type) is raised, exception 1002 (Invalid parameter value) is raised, or exception 1137 (An internal data packet inconsistency was detected) is raised. This could happen if the any parameter is not the userInfo part of a notification received in response to a sendWebStatistics request.

For examples of using methods for a form to obtain and display information about Web statistics, see the Process class extractWebStatistics method in Volume 2 of the JADE Encyclopaedia of Classes.