Red Hat Bugzilla – Bug 837906
as7 plugin: platform-mbean > threading resource contains configuration properties which should be traits
Last modified: 2015-02-01 18:29:03 EST
Right now the as7 plugin defines threading resources (key=core-service=platform-mbean,type=threading). Part of the configuration for this resource are the following properties:
Thread Contention Monitoring Supported: Whether the Java virtual machine supports thread contention monitoring.
Thread Cpu Time Supported: Whether the Java virtual machine implementation supports CPU time measurement for any thread.
Current Thread Cpu Time Supported: Whether the Java virtual machine supports CPU time measurement for the current thread.
Object Monitor Usage Supported: Whether the Java virtual machine supports monitoring of object monitor usage.
Synchronizer Usage Supported: Whether the Java virtual machine supports monitoring of ownable synchronizer usage.
When editing the configuration it is not possible alter any of these properties (see threading-config-current.png). Further it doesn't make any sense to try to alter these properties since they describe the existence (or not) of particular features of the JVM
My suggestion is to remove these properties from the resource configuration. An alternative implementation could move these to be traits on the resource.
Created attachment 596483 [details]
Threading resource configuration