Class BandwidthPersistor
java.lang.Object
org.wso2.carbon.usage.agent.persist.BandwidthPersistor
this class is used to store incoming and outgoing bandwidth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstoreIncomingBandwidth(int tenantId, long size) method to store incoming bandwidthstatic voidstoreOutgoingBandwidth(int tenantId, long size) method to store outgoingBandwidth
-
Constructor Details
-
BandwidthPersistor
public BandwidthPersistor()
-
-
Method Details
-
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
-