public abstract class AbstractAggregatedContent extends Object implements AggregatedContent
| Constructor and Description |
|---|
AbstractAggregatedContent() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
add(org.mule.runtime.api.metadata.TypedValue newElement,
Long timeStamp)
Add a new element to the storage
|
abstract List<org.mule.runtime.api.metadata.TypedValue> |
getAggregatedElements()
Gets the aggregated elements from the storage
|
Long |
getFirstValueArrivalTime()
Get a timestamp representing when the first value was aggregated
|
Long |
getLastValueArrivalTime()
Get a timestamp with the time of the last aggregated element
|
int |
getMaxSize() |
abstract boolean |
isComplete()
Get a boolean indicating if the number of elements is equal to the maximum allowed
|
boolean |
isTimedOut() |
void |
setMaxSize(int maxSize) |
void |
setTimedOut() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddpublic abstract boolean isComplete()
AggregatedContentisComplete in interface AggregatedContentpublic abstract void add(org.mule.runtime.api.metadata.TypedValue newElement,
Long timeStamp)
AggregatedContentadd in interface AggregatedContentnewElement - the element to be addedtimeStamp - the moment when the element was addedpublic abstract List<org.mule.runtime.api.metadata.TypedValue> getAggregatedElements()
AggregatedContentgetAggregatedElements in interface AggregatedContentpublic int getMaxSize()
public void setMaxSize(int maxSize)
public boolean isTimedOut()
public void setTimedOut()
public Long getFirstValueArrivalTime()
AggregatedContentgetFirstValueArrivalTime in interface AggregatedContentpublic Long getLastValueArrivalTime()
AggregatedContentgetLastValueArrivalTime in interface AggregatedContentCopyright © 2018 MuleSoft, Inc.. All rights reserved.