public class AggregatorManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ACCOUNTING_MANAGER_BUCKET_NAME |
protected Date |
aggregationStartDate |
protected AggregationType |
aggregationType |
protected boolean |
restartFromLastAggregationDate |
| Constructor and Description |
|---|
AggregatorManager(AggregationType aggregationType,
boolean restartFromLastAggregationDate,
Date aggregationStartDate) |
| Modifier and Type | Method and Description |
|---|---|
protected AggregationStatus |
createAggregationStatus(String recordType) |
void |
elaborate(Date persistStartTime,
Date persistEndTime,
Class<? extends org.gcube.accounting.datamodel.UsageRecord> usageRecordClass) |
protected Date |
getEndDateFromStartDate() |
public static final String ACCOUNTING_MANAGER_BUCKET_NAME
protected AggregationType aggregationType
protected Date aggregationStartDate
protected boolean restartFromLastAggregationDate
public AggregatorManager(AggregationType aggregationType, boolean restartFromLastAggregationDate, Date aggregationStartDate) throws Exception
Exceptionprotected Date getEndDateFromStartDate()
protected AggregationStatus createAggregationStatus(String recordType) throws Exception
ExceptionCopyright © 2017. All Rights Reserved.