public interface MonitoringConfig<E>
Modifier and Type | Method and Description |
---|---|
void |
addProbes(E... probes)
Add the monitoring probes, which will be notified about object's lifecycle events.
|
void |
clearProbes()
Removes all the monitoring probes, which are registered on the object.
|
Object |
createManagementObject()
Create the JMX
Object , which represents this object. |
E[] |
getProbes()
Get the the monitoring probes, which are registered on the objet.
|
boolean |
hasProbes() |
boolean |
removeProbes(E... probes)
Remove the monitoring probes.
|
void addProbes(E... probes)
probes
- the monitoring probes.boolean removeProbes(E... probes)
probes
- the monitoring probes.E[] getProbes()
addProbes(Object[])
and
removeProbes(Object[])
instead.boolean hasProbes()
void clearProbes()
Copyright © 2014 Oracle Corporation. All rights reserved.