Class SlidingCollectionAggregator<T extends WrappedCollection>
java.lang.Object
com.fluxtion.ext.streaming.api.window.SlidingCollectionAggregator<T>
- Type Parameters:
T
-
public class SlidingCollectionAggregator<T extends WrappedCollection>
extends java.lang.Object
- Author:
- Greg Higgins [email protected]
-
Constructor Summary
Constructors Constructor Description SlidingCollectionAggregator(java.lang.Object notifier, WrappedCollection<T,?,?> source, int size)
-
Method Summary
Modifier and Type Method Description void
aggregate()
java.util.List<T>
collection()
WrappedList<T>
comparator(java.util.Comparator comparator)
ArrayListWrappedCollection<T>
getTargetCollection()
TimeReset
getTimeReset()
SlidingCollectionAggregator<T>
id(java.lang.String id)
void
init()
void
setTargetCollection(ArrayListWrappedCollection<T> targetCollection)
void
setTimeReset(TimeReset timeReset)
-
Constructor Details
-
SlidingCollectionAggregator
public SlidingCollectionAggregator(java.lang.Object notifier, WrappedCollection<T,?,?> source, int size)
-
-
Method Details
-
getTargetCollection
-
setTargetCollection
-
getTimeReset
-
setTimeReset
-
id
-
aggregate
public void aggregate() -
comparator
-
collection
-
init
public void init()
-