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 |
originalRecordsNumber |
protected float |
percentage |
protected int |
recoveredRecordNumber |
protected UUID |
uuid |
| Constructor and Description |
|---|
AggregationStatus(AggregationInfo aggregationInfo) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAggregatedRecordsNumber() |
AggregationInfo |
getAggregationInfo() |
AggregationState |
getAggregationState() |
List<AggregationStateEvent> |
getAggregationStateEvents() |
static AggregationStatus |
getAggregationStatus(String recordType,
AggregationType aggregationType,
Date aggregationStartDate) |
String |
getContext() |
static AggregationStatus |
getLast(String recordType,
AggregationType aggregationType) |
int |
getOriginalRecordsNumber() |
static List<AggregationStatus> |
getUnterminated(String recordType,
AggregationType aggregationType) |
UUID |
getUUID() |
void |
setAggregation(AggregationInfo aggregation) |
void |
setContext(String context) |
void |
setRecordNumbers(int originalRecordsNumber,
int aggregatedRecordsNumber) |
void |
setState(AggregationState aggregationState,
Calendar startTime,
boolean sync) |
protected AggregationInfo aggregationInfo
protected UUID uuid
protected int originalRecordsNumber
protected int aggregatedRecordsNumber
protected int recoveredRecordNumber
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) 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)
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)
Copyright © 2017. All Rights Reserved.