Bug 837906

Summary: as7 plugin: platform-mbean > threading resource contains configuration properties which should be traits
Product: [Other] RHQ Project Reporter: Charles Crouch <ccrouch>
Component: PluginsAssignee: RHQ Project Maintainer <rhq-maint>
Status: NEW --- QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: hbrock, hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 707223    
Attachments:
Description Flags
Threading resource configuration none

Description Charles Crouch 2012-07-05 15:16:10 EDT
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.
Comment 1 Charles Crouch 2012-07-05 15:17:01 EDT
Created attachment 596483 [details]
Threading resource configuration
Comment 2 Mike Foley 2012-07-09 11:54:13 EDT
qe task

https://engineering.redhat.com/trac/jon/ticket/214