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 |
reset()
Resets this handler to its initial state.
|
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
.void reset()
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.