public interface ReduceFunc<T> extends TFunction<T,T>, IFunction<T>
IFunction
from the communication layerModifier and Type | Method and Description |
---|---|
default T |
onMessage(T object1,
T object2)
The actual message callback
|
T |
reduce(T t1,
T t2)
Reduce the t1 and t2 into a single value
|