Package org.infinispan.jmx.annotations
Annotation Type ManagedAttribute
-
@Retention(CLASS) @Target({METHOD,FIELD}) public @interface ManagedAttribute
Indicates that a public method or a field (any visibility) in an MBean class defines an MBean attribute. This annotation can be applied to either a field or a public setter and/or getter 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 Elements Modifier and Type Optional Element Description DataType
dataType
java.lang.String
description
The human-readable description of the attribute.java.lang.String
displayName
A brief and user friendly name.MeasurementType
measurementType
Units
units
boolean
writable
Indicates if the attribute is writable or just read-only (default).
-
-
-
Element Detail
-
description
java.lang.String description
The human-readable description of the attribute. Probably more detailed thandisplayName()
.- Default:
- ""
-
-
-
dataType
DataType dataType
- Default:
- org.infinispan.jmx.annotations.DataType.MEASUREMENT
-
-
-
measurementType
MeasurementType measurementType
- Default:
- org.infinispan.jmx.annotations.MeasurementType.DYNAMIC
-
-
-
units
Units units
- Default:
- org.infinispan.jmx.annotations.Units.NONE
-
-