Implementing System Instrumentation and Diagnosis Methods
In addition to the node sampling methods documented under "Node Sampling", later in this chapter, JADE provides an Application Programming Interface (API) framework whose methods, summarized in the following table, you can incorporate into your JADE applications to examine your JADE system, nodes, or processes.
Class | Method | Description |
---|---|---|
|
|
Returns the status of a physical database file during the backup process |
|
|
Populates the input partitionList array with references to |
|
|
Populates the input partitionList array with |
|
|
Returns true if the database file is partitioned |
|
|
Returns statistics on all reads and writes to the database file |
|
|
Populates an array with references to files of selected kinds |
|
|
Returns the status of a single physical database file partition during the backup process |
|
|
Returns statistics on reads of single database partition activity |
|
|
Returns true if the associated partition is frozen |
|
|
Returns true if the associated partition is offline |
|
|
Retrieves the cache sizes of the node on which the method is executing |
|
|
Retrieves the cache sizes of the node on which the method is executing when running in a 64-bit JADE environment |
|
|
Populates the specified array with transient instances of the current locks for shared transient instances |
|
|
Reserved for future use |
|
|
Retrieves the number of contentions on mutexes (locking mechanism used to ensure thread safety when executing critical sections of code) used internally by JADE for the node |
|
|
Retrieves node sampling values relating to cache activity |
|
|
Populates the specified array with transient instances of the lock requests waiting for shared transient objects to be unlocked |
|
|
Returns node statistics relating to persistent database requests from the receiver |
|
|
Retrieves statistics relating to RPC activity between the database server node and the receiver node |
|
|
Invokes a non-fatal operating system process dump of a specific node |
|
|
Sets the cache size values on the node on which the method is executing and retrieves the current values after the operation |
|
|
Sets the cache size values on the node on which the method is executing and retrieves the current values after the operation when running in a 64-bit JADE and environment |
|
|
Retrieves a list of the WBEM classes that can be queried for the node of the receiver object |
|
|
Retrieves the names of all instances of a specified WBEM class for the node of the receiver object |
|
|
Retrieves the name, type, and scale factor for each property of a specified WBEM class |
|
|
Retrieves instances and property values for a specified WBEM class for the node of the receiver object |
|
|
Changes how long an object is to be retained in persistent or transient object cache |
|
|
Starts method profiling for the receiving process |
|
|
Returns the status of class access counters, including the UTC time |
|
|
Enables or disables class access counters |
|
|
Stops method profiling for the receiving process |
|
|
Extracts local or remote request statistics from a notification sent in response to a |
|
|
Extracts performance statistics relating to Web activity from a notification sent in response to a |
|
|
Returns cache-related information about a specified object |
|
|
Retrieves information about the call stack of the executing process |
|
|
Retrieves the method cache limit for the executing process |
|
|
Retrieves information about the method cache of the executing process and stores it in the passed in dynamic object |
|
|
Retrieves method profiling information for the receiving process |
|
|
Retrieves statistics relating to RPC activity between the database server node and the receiver process |
|
|
Retrieves the string pool limit for the executing process |
|
|
Retrieves timer-related information |
|
|
Selects or deselects a method to be profiled for the receiving process |
|
|
Removes all method profiling information for the receiving process |
|
|
Requests a target process to send one or more notifications containing information about the call stack of the receiver process |
|
|
Requests a target process (the receiver) to send a notification containing statistics about the method cache of the target process |
|
|
Requests a process to send a notification containing local or remote request statistics |
|
|
Requests a target process to send one or more notifications containing detailed analysis of the transient database file |
|
|
Requests a target process to send a notification containing information about its transient database file |
|
|
Requests a process to send a notification containing performance statistics for Web activity |
|
|
Specifies the method cache limit for the executing process |
|
|
Specifies how long an object is to be retained in persistent or transient object cache |
|
|
Specifies the string pool limit for the executing process |
|
|
Starts recording lock contentions for persistent objects |
|
|
Starts recording in a file database server persistent object activity |
|
|
Removes all existing lock contention data and restarts recording of lock contentions |
|
|
Stops recording lock contentions and removes all lock contention data |
|
|
Ends recording in a file of database server persistent object activity |
|
|
Returns access counts for specified classes |
|
|
Returns statistics relating to persistent database activity |
|
|
Returns statistics relating to the persistent database disk cache |
|
|
Retrieves lock contention information for the specified object |
|
|
Retrieves lock contention for all contended locks |
|
|
Fills an array with a specified number of instances of current locks in the system |
|
|
Returns access counts for the classes that have been most frequently accessed |
|
|
Fills an array with a specified number of instances of current notification requests in the system |
|
|
Fills an array with the specified number of instances of lock requests in the system that are waiting for a locked object |
|
|
Returns system statistics relating to requests carried out by the database server node |
|
|
Retrieves RPC statistics relating to activity between the database server node and all client nodes |
|
|
Invokes a near-simultaneous operating system process dump of all nodes and the server node itself |
|
|
Retrieves information about the current recording of lock contentions |
For details, see the following subsections. For examples of the use of and output from these methods, see