public interface MeterContext
Modifier and Type | Method and Description |
---|---|
default void |
onError(MeterRequest op,
MeterFailReason reason)
Invoked when error is encountered while installing a meter.
|
default void |
onSuccess(MeterRequest op)
Invoked on successful installation of the meter.
|
default void onSuccess(MeterRequest op)
op
- a meterdefault void onError(MeterRequest op, MeterFailReason reason)
op
- a meterreason
- the reason why it failed