public interface FacultativeMBean
Modifier and Type | Method and Description |
---|---|
void |
enable(boolean val)
Enable/disable
|
java.lang.String |
getAnnotation()
Get counter annotation
|
boolean |
isEnabled()
Check if enabled
|
void |
setAnnotation(java.lang.String annotation)
Set counter annotation
|
void enable(boolean val)
val
- new value of the "enabled" flag.boolean isEnabled()
true
if enabledjava.lang.String getAnnotation()
void setAnnotation(java.lang.String annotation)
annotation
- counter annotation