public abstract class Monitor extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.redhat.lightblue.client.LightblueClient |
lightblueClient |
protected MonitorConfiguration |
monitorCfg |
| Constructor and Description |
|---|
Monitor(MonitorConfiguration monitorCfg) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doRunCheck(Notifier... notifiers) |
protected void |
onError(String message,
Notifier... notifiers) |
protected void |
onError(Throwable throwable,
Notifier... notifiers) |
protected void |
onError(Throwable throwable,
String message,
Notifier... notifiers) |
protected void |
onFailure(String message,
Notifier... notifiers) |
protected void |
onSuccess(Notifier... notifiers) |
void |
runCheck(Notifier... notifiers) |
protected final MonitorConfiguration monitorCfg
protected final com.redhat.lightblue.client.LightblueClient lightblueClient
public Monitor(MonitorConfiguration monitorCfg)
public void runCheck(Notifier... notifiers)
protected abstract void doRunCheck(Notifier... notifiers) throws com.redhat.lightblue.client.LightblueException
com.redhat.lightblue.client.LightblueExceptionprotected void onSuccess(Notifier... notifiers)
Copyright © 2016. All rights reserved.