public class AggregationMethodRowAged extends Object
Constructor and Description |
---|
AggregationMethodRowAged(long refcount,
long lastUpdateTime,
AggregationMethod[] methods,
AggregationState[] states)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
decreaseRefcount()
Decrease number of data points by one.
|
long |
getLastUpdateTime()
Returns last upd time.
|
AggregationMethod[] |
getMethods()
Returns aggregation state.
|
long |
getRefcount()
Returns number of data points.
|
AggregationState[] |
getStates()
Returns the states for first/last/window aggregation functions.
|
void |
increaseRefcount()
Increase number of data points by one.
|
void |
setLastUpdateTime(long lastUpdateTime)
Set last update time.
|
public AggregationMethodRowAged(long refcount, long lastUpdateTime, AggregationMethod[] methods, AggregationState[] states)
lastUpdateTime
- time of creationrefcount
- number of items in statemethods
- aggregationsstates
- for first/last/window type accesspublic long getRefcount()
public long getLastUpdateTime()
public AggregationMethod[] getMethods()
public void setLastUpdateTime(long lastUpdateTime)
lastUpdateTime
- timepublic void increaseRefcount()
public void decreaseRefcount()
public AggregationState[] getStates()