T - the type of element in Accumulator.public interface AccumulatorHandler<T>
Accumulator.PublisherAccumulatorHandler,
SubscriberAccumulatorHandler| Modifier and Type | Method and Description |
|---|---|
void |
handle(T element,
boolean lastElement)
Handles element.
|
void handle(T element, boolean lastElement)
element - the element to be processed.lastElement - true if this is the last element got from the Accumulator, otherwise false.Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.