org.wso2.carbon.usage.agent.persist
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BandwidthPersistor
public BandwidthPersistor()
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
Copyright © 2015 WSO2. All rights reserved.