| Package | Description |
|---|---|
| org.wso2.carbon.usage.agent.persist | |
| org.wso2.carbon.usage.agent.util |
| Modifier and Type | Method and Description |
|---|---|
void |
UsageDataPersistenceManager.addToQueue(BandwidthUsage usage)
this method add bandwidth usage entries to the jobQueue
|
| Modifier and Type | Method and Description |
|---|---|
void |
UsageDataPersistenceTask.persistUsage(Queue<BandwidthUsage> jobQueue)
this method create a Summarizer object for each tenant and call accumulate() method to
accumulate usage statistics
|
| Constructor and Description |
|---|
UsageDataPersistenceTask(Queue<BandwidthUsage> jobs,
UsageAgentConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Util.addToPersistingControllerQueue(BandwidthUsage usage) |
static void |
PublisherUtils.publish(BandwidthUsage usage)
this method get the event payload, construct the SOAP envelop and call the publish method in
EventBrokerService.
|
Copyright © 2019 WSO2. All rights reserved.