Class BandwidthPersistor


  • public class BandwidthPersistor
    extends Object
    this class is used to store incoming and outgoing bandwidth
    • Constructor Detail

      • BandwidthPersistor

        public BandwidthPersistor()
    • Method Detail

      • storeIncomingBandwidth

        public static void storeIncomingBandwidth​(int tenantId,
                                                  long size)
        method to store incoming bandwidth
        Parameters:
        tenantId - tenant id
        size - value of the incoming bandwidth
      • storeOutgoingBandwidth

        public static void storeOutgoingBandwidth​(int tenantId,
                                                  long size)
        method to store outgoingBandwidth
        Parameters:
        tenantId - tenant id
        size - value of the outgoing bandwidth