Constructor and Description |
---|
UsageDataPersistenceTask(Queue<BandwidthUsage> jobs,
UsageAgentConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
persistUsage(Queue<BandwidthUsage> jobQueue)
this method create a Summarizer object for each tenant and call accumulate() method to
accumulate usage statistics
|
void |
run() |
public UsageDataPersistenceTask(Queue<BandwidthUsage> jobs, UsageAgentConfiguration configuration)
public void persistUsage(Queue<BandwidthUsage> jobQueue) throws UsageException
jobQueue
- usage data persistence jobsUsageException
Copyright © 2018 WSO2. All rights reserved.