Class: com.sybase.djc.ant.PerformanceMonitorProperty (Performance Monitor Property) | EAServer 6.3 Help |
---|
Description | Monitors average response times and enables use of a thread monitor if response times degrade. |
---|---|
Configuration |
Example:
<setProperties component="ejb.components.example.MyCompRemote"> <performanceMonitor maxResponseTime="5000" threadMonitor="MyMonitor"/> ... </setProperties> |
Nested Properties | maxResponseTime, threadMonitor |
Property: maxResponseTime (Maximum Response Time) | |
---|---|
Description | Required. Maximum response time (in milliseconds) that is expected for invocations on this component. If the average response time exceeds this limit, subsequent calls to this component will have to acquire the threadMonitor. By setting the thread monitor's maximumActiveThreads property, you can effectively limit the level of concurrency when response times cross a certain threshold. This will be helpful for situations where too much concurrency produces some kind of contention that causes a degradation in response times. |
Default Value | 0 |
Minimum Value | 0 |
Maximum Value | 2147483647 |
Property: threadMonitor (Thread Monitor) | |
---|---|
Description | Name of a configured thread monitor. |
Default Value | performance |