- All Superinterfaces:
BiFunction<JsonObject,JsonObject, CompletionStage<JsonObject>>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface Reducer
extends BiFunction<JsonObject,JsonObject,CompletionStage<JsonObject>>
The first argument is the command. The second one is the current state of the aggregate.
- Since:
- 1.0
- Author:
- Werner Donné
-
Method Summary
Methods inherited from interface java.util.function.BiFunction
andThen, apply