public interface Monitoring
Modifier and Type | Method and Description |
---|---|
List<Parameter> |
getInputParameters(MonitoringKey key)
Gets input parameter information.
|
com.onwbp.adaptation.AdaptationTable |
getMonitoringTable()
Returns the activity monitoring table.
|
List<Parameter> |
getOutputParameters(MonitoringKey key)
Gets output parameter information.
|
MonitoringStatus |
getStatus(MonitoringKey key)
Gets monitoring status based on
MonitoringKey . |
List<Parameter> |
getWorkingParameters(MonitoringKey key)
Gets working parameter information.
|
MonitoringStatus |
restart(MonitoringKey key,
RestartContext restartContext)
Signals service restarts to monitoring.
|
MonitoringKey |
start(StartContext startContext)
Registers service into {addon.label}.
|
MonitoringStatus |
stop(MonitoringKey key,
StopContext stopContext)
Signals service stop to monitoring.
|
MonitoringStatus |
suspend(MonitoringKey key,
SuspendContext suspendContext)
Signals suspension of running service to monitoring.
|
MonitoringStatus |
update(MonitoringKey key,
UpdateContext updateContext)
Updates monitoring information based on the
MonitoringKey . |
MonitoringKey start(StartContext startContext) throws MonitoringException
MonitoringKey
for future updates.startContext
- the start contextMonitoringException
- the monitoring exceptionMonitoringStatus update(MonitoringKey key, UpdateContext updateContext) throws MonitoringException
MonitoringKey
.key
- the keyupdateContext
- the update contextMonitoringException
- the monitoring exceptionMonitoringStatus stop(MonitoringKey key, StopContext stopContext) throws MonitoringException
key
- the keystopContext
- the stop contextMonitoringException
- the monitoring exceptionMonitoringStatus restart(MonitoringKey key, RestartContext restartContext) throws MonitoringException
key
- the keyrestartContext
- the restart contextMonitoringException
- the monitoring exceptionMonitoringStatus suspend(MonitoringKey key, SuspendContext suspendContext) throws MonitoringException
key
- the keysuspendContext
- the suspend contextMonitoringException
- the monitoring exceptionMonitoringStatus getStatus(MonitoringKey key) throws MonitoringException
MonitoringKey
.key
- the keyMonitoringException
- the monitoring exceptionList<Parameter> getInputParameters(MonitoringKey key) throws MonitoringException
key
- the keyMonitoringException
- the monitoring exceptionList<Parameter> getWorkingParameters(MonitoringKey key) throws MonitoringException
key
- the keyMonitoringException
- the monitoring exceptionList<Parameter> getOutputParameters(MonitoringKey key) throws MonitoringException
key
- the keyMonitoringException
- the monitoring exceptioncom.onwbp.adaptation.AdaptationTable getMonitoringTable()