Timed Operations
This feature enables support for logging warnings when certain operations in the application server are running more slowly than expected.
Enable this feature
To enable the Timed Operations feature, add the following element declaration inside the featureManager element in the server.xml file:
<feature>timedOperations-1.0</feature>
Developing a feature that depends on this feature
If we are developing a feature that depends on the Timed Operations feature, include the following item in the Subsystem-Content header in the feature manifest file for the new feature:
com.ibm.websphere.appserver.timedOperations-1.0; type="osgi.subsystem.feature"
SPI packages provided by this feature
Feature configuration elements
We can use the following elements in the server.xml file to configure the Timed Operations feature:
- timedOperation
- Timed operations help WebSphere Application Server administrators see when certain actions in their application server are operating more slowly than expected.
Attribute name Data type Default value Description enableReport boolean true Enables periodic generation of report to the logs detailing the ten longest timed operations, grouped by type, and sorted within each group by expected duration maxNumberTimedOperations int 10000 A warning is logged when the total number of timed operations reaches this value. reportFrequency A period of time with hour precision Frequency of generating report to the logs detailing the ten longest timed operations, grouped by type, and sorted within each group by average of actual duration. Specify a positive integer followed by the unit of time, which can be hours (h). For example, specify 12 hours as 12h.