Class BandwidthPersistor
- java.lang.Object
-
- org.wso2.carbon.usage.agent.persist.BandwidthPersistor
-
public class BandwidthPersistor extends Object
this class is used to store incoming and outgoing bandwidth
-
-
Constructor Summary
Constructors Constructor Description BandwidthPersistor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidstoreIncomingBandwidth(int tenantId, long size)method to store incoming bandwidthstatic voidstoreOutgoingBandwidth(int tenantId, long size)method to store outgoingBandwidth
-
-
-
Method Detail
-
storeIncomingBandwidth
public static void storeIncomingBandwidth(int tenantId, long size)method to store incoming bandwidth- Parameters:
tenantId- tenant idsize- value of the incoming bandwidth
-
storeOutgoingBandwidth
public static void storeOutgoingBandwidth(int tenantId, long size)method to store outgoingBandwidth- Parameters:
tenantId- tenant idsize- value of the outgoing bandwidth
-
-