[jboss-jira] [JBoss JIRA] (JGRP-2119) Separate JMX objects
Bela Ban (JIRA)
issues at jboss.org
Fri Oct 21 09:23:00 EDT 2016
[ https://issues.jboss.org/browse/JGRP-2119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13310391#comment-13310391 ]
Bela Ban commented on JGRP-2119:
--------------------------------
Done. Any object implementing AdditionalJmxObjects can return a number of instances which expose attributes (get and set) or operations by simply annotating them with {{@ManagedAttribute}} or {{@ManagedOperation}}.
For an example, see MsgStats used by TP to maintain various counters on msgs sent, received etc
> Separate JMX objects
> --------------------
>
> Key: JGRP-2119
> URL: https://issues.jboss.org/browse/JGRP-2119
> Project: JGroups
> Issue Type: Feature Request
> Reporter: Bela Ban
> Assignee: Bela Ban
> Fix For: 4.0
>
>
> Provide managed attributes or operations in separate classes, e.g. to be used for stats in TP. These could include num_msgs_sent, num_batches_received etc.
> A protocol could implement an interface (e.g. AdditionalStats), which would return a list of objects whose attributes and operations should be exposed together with the protocol.
> This would reduce code in TP.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list