Package org.infinispan.jmx.annotations
Annotation Interface ManagedAttribute
Indicates that a method in a MBean class defines a MBean attribute. This annotation can be applied to a non-static
non-private getter or setter method of a public class that is itself annotated with an @MBean annotation, or inherits
such an annotation from a superclass.
- Since:
- 4.0
- Author:
- (various), Galder ZamarreƱo
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIndicates if the attribute relates to a cluster-wide attribute.The human-readable description of the attribute.A brief and user friendly name.The name of the JMX attribute.booleanIndicates if the attribute is writable or just read-only (default).
-
Element Details
-
name
String nameThe name of the JMX attribute. If left empty it defaults to the name of the Java property.- Default:
""
-
description
String descriptionThe human-readable description of the attribute. Probably more detailed thandisplayName().- Default:
""
-
writable
boolean writableIndicates if the attribute is writable or just read-only (default). If this flag is true a setter method must exist.- Default:
false
-
displayName
String displayNameA brief and user friendly name.- Default:
""
-
dataType
DataType dataType- Default:
MEASUREMENT
-
measurementType
MeasurementType measurementType- Default:
DYNAMIC
-
units
Units units- Default:
NONE
-
clusterWide
boolean clusterWideIndicates if the attribute relates to a cluster-wide attribute.- Default:
false
-