org.wso2.carbon.usage.agent.persist
Class RegistryUsagePersister

java.lang.Object
  extended by org.wso2.carbon.usage.agent.persist.RegistryUsagePersister

public class RegistryUsagePersister
extends Object

this class is used to store incoming and outgoing bandwidth


Constructor Summary
RegistryUsagePersister()
           
 
Method Summary
static void storeAddContent(int tenantId, long size)
           
static void storeDeleteContent(int tenantId, long size)
           
static void storeIncomingBandwidth(int tenantId, long size)
          method to store incoming bandwidth
static void storeOutgoingBandwidth(int tenantId, long size)
          method to store outgoingBandwidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryUsagePersister

public RegistryUsagePersister()
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

storeAddContent

public static void storeAddContent(int tenantId,
                                   long size)

storeDeleteContent

public static void storeDeleteContent(int tenantId,
                                      long size)

storeOutgoingBandwidth

public static void storeOutgoingBandwidth(int tenantId,
                                          long size)
method to store outgoingBandwidth

Parameters:
tenantId - tenant id
size - value of the outgoing bandwidth


Copyright © 2015 WSO2. All rights reserved.