[JIRA-3148] install only one meter per bandwidth profile on eapol flows
Change-Id: Ie2f1922cf3854b47d9a2d34a44410ef883b3fe2e
diff --git a/app/src/main/java/org/opencord/olt/internalapi/AccessDeviceMeterService.java b/app/src/main/java/org/opencord/olt/internalapi/AccessDeviceMeterService.java
index 48570cd..bad2e5b 100644
--- a/app/src/main/java/org/opencord/olt/internalapi/AccessDeviceMeterService.java
+++ b/app/src/main/java/org/opencord/olt/internalapi/AccessDeviceMeterService.java
@@ -68,6 +68,30 @@
CompletableFuture<Object> meterFuture);
/**
+ * Adds the DeviceBandwidthProfile to the pendingMeters.
+ *
+ * @param deviceBandwidthProfile the device to bandwidth profile mapping
+ */
+ void addToPendingMeters(DeviceBandwidthProfile deviceBandwidthProfile);
+
+ /**
+ * Removes the DeviceBandwidthProfile from the pendingMeters.
+ *
+ * @param deviceBandwidthProfile the device to bandwidth profile mapping
+ *
+ */
+ void removeFromPendingMeters(DeviceBandwidthProfile deviceBandwidthProfile);
+
+ /**
+ * Checks if DeviceBandwidthProfile is pending.
+ *
+ * @param deviceBandwidthProfile the device to bandwidth profile mapping
+ *
+ * @return true if pending.
+ */
+ boolean isMeterPending(DeviceBandwidthProfile deviceBandwidthProfile);
+
+ /**
* Clears out bandwidth profile to meter mappings for the given device.
*
* @param deviceId device ID