public interface MonitoringLevelListener
| Modifier and Type | Method and Description |
|---|---|
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.
|
void setLevel(MonitoringLevel level)
level - corresponding to MonitoringLevel OFF, LOW or HIGHvoid 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 changedCopyright © 2017. All rights reserved.