|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MonitoringLevelListener
Implementation of this interface enables notifications to be received for change in monitoring level from a prior level to a new one. Monitoring levels are defined by the constants class MonitoringLevel and are currently defined as OFF, LOW and HIGH.
| Method Summary | |
|---|---|
void |
changeLevel(MonitoringLevel from,
MonitoringLevel to,
MonitoredObjectType type)
Method to convey the change in monitoring level. |
void |
changeLevel(MonitoringLevel from,
MonitoringLevel to,
Stats handback)
Deprecated. |
void |
setLevel(MonitoringLevel level)
Deprecated. |
| Method Detail |
|---|
void setLevel(MonitoringLevel level)
level - corresponding to MonitoringLevel OFF, LOW or HIGH
void changeLevel(MonitoringLevel from,
MonitoringLevel to,
Stats handback)
from - the MonitoringLevel before the changeto - the MonitoringLevel after the changehandback - the Stats object that was passed to the registry during registration. It
is guaranteed that it will be unchanged by monitoring framework.
void changeLevel(MonitoringLevel from,
MonitoringLevel to,
MonitoredObjectType type)
from - the MonitoringLevel before the changeto - the MonitoringLevel after the changetype - the MonitoredObjectType that had the level changed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||