Uses of Class
org.wso2.carbon.usage.agent.exception.UsageException

Packages that use UsageException
org.wso2.carbon.usage.agent.api   
org.wso2.carbon.usage.agent.persist   
org.wso2.carbon.usage.agent.services   
org.wso2.carbon.usage.agent.util   
 

Uses of UsageException in org.wso2.carbon.usage.agent.api
 

Methods in org.wso2.carbon.usage.agent.api that throw UsageException
 long CustomMeteringAgent.addUsage(String duration, String measurement, long value)
          Add a long value to the usage, if there were no previous entry, this will start with value 0
 String[] CustomMeteringAgent.getRecordedDurations(String measurement)
          Get recorded durations
 boolean CustomMeteringAgent.isUsageEntryExists(String duration, String measurement)
          Check whether the usage entry exist or not
 void CustomMeteringAgent.persistUsage(String duration, String measurement, String value)
          Persist usage of a user
 String CustomMeteringAgent.retrieveUsage(String duration, String measurement)
          Retrieve usage of a user
 

Uses of UsageException in org.wso2.carbon.usage.agent.persist
 

Methods in org.wso2.carbon.usage.agent.persist that throw UsageException
 void UsageDataPersistenceTask.persistUsage(Queue<BandwidthUsage> jobQueue)
          this method create a Summarizer object for each tenant and call accumulate() method to accumulate usage statistics
 

Uses of UsageException in org.wso2.carbon.usage.agent.services
 

Methods in org.wso2.carbon.usage.agent.services that throw UsageException
 String CustomMeteringService.retrieveUsage(String duration, String measurement)
          method to retrieve usage
 

Uses of UsageException in org.wso2.carbon.usage.agent.util
 

Methods in org.wso2.carbon.usage.agent.util that throw UsageException
static void PublisherUtils.publish(BandwidthUsage usage)
          this method get the event payload, construct the SOAP envelop and call the publish method in EventBrokerService.
static String PublisherUtils.updateServerName(int tenantId)
          method to update server name
 



Copyright © 2015 WSO2. All rights reserved.