Package org.infinispan.jmx.annotations
Annotation Type ManagedAttribute
-
@Retention(CLASS) @Target({METHOD,FIELD}) public @interface ManagedAttributeIndicates 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 DataTypedataTypejava.lang.StringdescriptionThe human-readable description of the attribute.java.lang.StringdisplayNameA brief and user friendly name.MeasurementTypemeasurementTypeUnitsunitsbooleanwritableIndicates 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
-
-