@Retention(value=RUNTIME) @Target(value=METHOD) public @interface JmxOperation
@JmxOperation(description = "Reset our max/min values", parameterNames = { "minValue", "maxValue" }, parameterDescriptions = { "low water mark", "high water mark" } public void resetMaxMin(int minValue, int maxValue) { ...
Modifier and Type | Optional Element and Description |
---|---|
String |
description
Description of the attribute for jconsole.
|
JmxOperationInfo.OperationAction |
operationAction
This optional is used by the JMX system to describe what sort of work is being done in this operation.
|
String[] |
parameterDescriptions
Optional array of strings which describes each of the method parameters.
|
String[] |
parameterNames
Optional array of strings which gives the name of each of the method parameters.
|
public abstract String description
public abstract String[] parameterNames
parameterDescriptions()
array. Default is something like "p0". For example:
@JmxOperation(parameterNames = { "minValue", "maxValue" }, parameterDescriptions = { "low water mark", "high water mark" } public void resetMaxMin(int minValue, int maxValue) { ...
public abstract String[] parameterDescriptions
parameterNames()
array. If not specified then it will create one with the parameter number and type
-- something like "parameter #xf0 of type: int".
@JmxOperation(parameterNames = { "minValue", "maxValue" }, parameterDescriptions = { "low water mark", "high water mark" } public void resetMaxMin(int minValue, int maxValue) { ...
public abstract JmxOperationInfo.OperationAction operationAction
This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.