The communication protocol between the operations and the monitor is based on a Java API. You can use a directory to register the operations you would like to monitor.
When communication between an operation and the activity monitor is initialized, the operation obtains a unique identifier. This identifier allows the operation to inform the monitor about its execution status over time. Reporting frequency is specified by the operation. For instance, operation status can be updated-on a long-running operation-for every 10% completed. When an operation terminates communication, it informs the monitor.
When an operation starts it can inform the monitor of its expected duration. The monitor can then keep track of the execution time and raise an alert if the service duration exceeds the expected value.
Special notation: | |
---|---|
Refer to the JavaDoc for the API definition and usage. |