public interface AggregatedContent extends Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.mule.runtime.api.metadata.TypedValue newElement,
Long timestamp)
Add a new element to the storage
|
void |
add(org.mule.runtime.api.metadata.TypedValue newElement,
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
|
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
|
boolean |
isComplete()
Get a boolean indicating if the number of elements is equal to the maximum allowed
|
boolean |
upgradeIfNeeded()
Deprecated.
|
void add(org.mule.runtime.api.metadata.TypedValue newElement,
Long timestamp)
newElement - the element to be addedtimestamp - the moment when the element was addedvoid add(org.mule.runtime.api.metadata.TypedValue newElement,
Long timestamp,
int sequenceNumber)
newElement - the element to be addedtimestamp - the moment when the element was addedsequenceNumber - the position of the new element inside content being aggregatedList<org.mule.runtime.api.metadata.TypedValue> getAggregatedElements()
Long getFirstValueArrivalTime()
Long getLastValueArrivalTime()
boolean isComplete()
@Deprecated boolean upgradeIfNeeded()
Copyright © 2024 MuleSoft, Inc.. All rights reserved.