Uses of Class
org.wso2.carbon.usage.agent.exception.UsageException
Packages that use UsageException
Package
Description
-
Uses of UsageException in org.wso2.carbon.usage.agent.api
Methods in org.wso2.carbon.usage.agent.api that throw UsageExceptionModifier and TypeMethodDescriptionlongAdd a long value to the usage, if there were no previous entry, this will start with value 0String[]CustomMeteringAgent.getRecordedDurations(String measurement) Get recorded durationsbooleanCustomMeteringAgent.isUsageEntryExists(String duration, String measurement) Check whether the usage entry exist or notvoidCustomMeteringAgent.persistUsage(String duration, String measurement, String value) Persist usage of a userCustomMeteringAgent.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 UsageExceptionModifier and TypeMethodDescriptionvoidUsageDataPersistenceTask.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 UsageExceptionModifier and TypeMethodDescriptionCustomMeteringService.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 UsageExceptionModifier and TypeMethodDescriptionstatic voidPublisherUtils.publish(BandwidthUsage usage) this method get the event payload, construct the SOAP envelop and call the publish method in EventBrokerService.static StringPublisherUtils.updateServerName(int tenantId) method to update server name