public class SimpleAggregatedContent extends AbstractAggregatedContent
| Constructor and Description |
|---|
SimpleAggregatedContent(int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.mule.runtime.api.metadata.TypedValue newContent,
Long timeStamp)
Add a new element to the storage
|
void |
add(org.mule.runtime.api.metadata.TypedValue newContent,
Long timeStamp,
int sequenceNumber)
Add a new element to the storage
|
List<org.mule.runtime.api.metadata.TypedValue> |
getAggregatedElements()
Gets the aggregated elements from the storage
|
boolean |
isComplete()
Get a boolean indicating if the number of elements is equal to the maximum allowed
|
boolean |
upgradeIfNeeded()
Deprecated.
|
getFirstElementArrivalTime, getFirstValueArrivalTime, getLastElementArrivalTime, getLastValueArrivalTime, getMaxSize, isTimedOut, setFirstElementArrivalTime, setLastElementArrivalTime, setMaxSize, setTimedOut, setTimedOutpublic void add(org.mule.runtime.api.metadata.TypedValue newContent,
Long timeStamp)
AggregatedContentadd in interface AggregatedContentadd in class AbstractAggregatedContentnewContent - the element to be addedtimeStamp - the moment when the element was addedpublic void add(org.mule.runtime.api.metadata.TypedValue newContent,
Long timeStamp,
int sequenceNumber)
AggregatedContentnewContent - the element to be addedtimeStamp - the moment when the element was addedsequenceNumber - the position of the new element inside content being aggregatedpublic List<org.mule.runtime.api.metadata.TypedValue> getAggregatedElements()
AggregatedContentgetAggregatedElements in interface AggregatedContentgetAggregatedElements in class AbstractAggregatedContentpublic boolean isComplete()
AggregatedContentisComplete in interface AggregatedContentisComplete in class AbstractAggregatedContent@Deprecated public boolean upgradeIfNeeded()
Copyright © 2024 MuleSoft, Inc.. All rights reserved.