public class AggregatorManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ACCOUNTING_MANAGER_BUCKET_NAME |
protected Date |
aggregationEndDate |
protected Date |
aggregationStartDate |
protected AggregationType |
aggregationType |
protected boolean |
restartFromLastAggregationDate |
| Constructor and Description |
|---|
AggregatorManager(AggregationType aggregationType,
boolean restartFromLastAggregationDate,
Date aggregationStartDate,
Date aggregationEndDate) |
| 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 final AggregationType aggregationType
protected Date aggregationStartDate
protected Date aggregationEndDate
protected final boolean restartFromLastAggregationDate
public AggregatorManager(AggregationType aggregationType, boolean restartFromLastAggregationDate, Date aggregationStartDate, Date aggregationEndDate) throws Exception
Exceptionprotected Date getEndDateFromStartDate()
protected AggregationStatus createAggregationStatus(String recordType) throws Exception
ExceptionCopyright © 2018. All Rights Reserved.