public class AggregationStatus extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
aggregatedRecordsNumber |
protected AggregationInfo |
aggregationInfo |
protected AggregationState |
aggregationState |
protected List<AggregationStateEvent> |
aggregationStateEvents |
protected String |
context |
protected Calendar |
lastUpdateTime |
protected int |
malformedRecordNumber |
protected int |
originalRecordsNumber |
protected float |
percentage |
protected int |
recoveredRecordNumber |
protected UUID |
uuid |
| Constructor and Description |
|---|
AggregationStatus(AggregationInfo aggregationInfo) |
protected AggregationInfo aggregationInfo
protected UUID uuid
protected int originalRecordsNumber
protected int aggregatedRecordsNumber
protected int recoveredRecordNumber
protected int malformedRecordNumber
protected float percentage
protected String context
protected AggregationState aggregationState
protected Calendar lastUpdateTime
protected List<AggregationStateEvent> aggregationStateEvents
public AggregationStatus(AggregationInfo aggregationInfo) throws Exception
Exceptionpublic static AggregationStatus getLast(String recordType, AggregationType aggregationType, Date aggregationStartDate, Date aggregationEndDate) throws Exception
Exceptionpublic static List<AggregationStatus> getUnterminated(String recordType, AggregationType aggregationType) throws Exception
Exceptionpublic static AggregationStatus getAggregationStatus(String recordType, AggregationType aggregationType, Date aggregationStartDate) throws Exception
Exceptionpublic AggregationInfo getAggregationInfo()
public void setState(AggregationState aggregationState, Calendar startTime, boolean sync) throws Exception
Exceptionpublic void setRecordNumbers(int originalRecordsNumber,
int aggregatedRecordsNumber,
int malformedRecordNumber)
public UUID getUUID()
public void setAggregation(AggregationInfo aggregation)
public int getOriginalRecordsNumber()
public int getAggregatedRecordsNumber()
public AggregationState getAggregationState()
public List<AggregationStateEvent> getAggregationStateEvents()
public String getContext()
public void setContext(String context)
public int getMalformedRecordNumber()
public void setMalformedRecordNumber(int malformedRecordNumber)
public Calendar getLastUpdateTime()
Copyright © 2018. All Rights Reserved.