|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.s4.core.window.DefaultAggregatingSlot<T>
T
- Type of slot elementspublic class DefaultAggregatingSlot<T>
Window slot that keeps all data elements as a list.
Nested Class Summary | |
---|---|
static class |
DefaultAggregatingSlot.DefaultAggregatingSlotFactory<T>
|
Constructor Summary | |
---|---|
DefaultAggregatingSlot()
|
Method Summary | |
---|---|
void |
close()
Compute aggregated data on available gathered slot data, place slot and slot data in immutable state. |
java.util.List<T> |
getAggregatedData()
|
void |
update(T datum)
Add a single data element |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultAggregatingSlot()
Method Detail |
---|
public void update(T datum)
Slot
update
in interface Slot<T>
public void close()
Slot
close
in interface Slot<T>
public java.util.List<T> getAggregatedData()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |