Moving meter store implementation to use map events
Change-Id: I338473b7286d7b9e5cdfb938f16c7b6155d4cbb5
diff --git a/incubator/api/src/main/java/org/onosproject/incubator/net/meter/MeterContext.java b/incubator/api/src/main/java/org/onosproject/incubator/net/meter/MeterContext.java
index 919cf63..b112b9a 100644
--- a/incubator/api/src/main/java/org/onosproject/incubator/net/meter/MeterContext.java
+++ b/incubator/api/src/main/java/org/onosproject/incubator/net/meter/MeterContext.java
@@ -16,23 +16,23 @@
package org.onosproject.incubator.net.meter;
/**
- * Created by ash on 01/08/15.
+ * A context permitting the application to be notified when the
+ * meter installation has been successful.
*/
public interface MeterContext {
/**
* Invoked on successful installation of the meter.
*
- * @param op a meter operation
+ * @param op a meter
*/
- default void onSuccess(MeterOperation op) {
- }
+ default void onSuccess(Meter op) {}
/**
* Invoked when error is encountered while installing a meter.
*
- * @param op a meter operation
+ * @param op a meter
* @param reason the reason why it failed
*/
- default void onError(MeterOperation op, MeterFailReason reason) {}
+ default void onError(Meter op, MeterFailReason reason) {}
}