Class LocalOnlyPayloadReducer
java.lang.Object
io.axoniq.framework.workflow.runtime.execution.payload.LocalOnlyPayloadReducer
- All Implemented Interfaces:
PayloadReducer,BiFunction<Map<String,@Nullable Object>, Map<String, @Nullable Object>, Map<String, @Nullable Object>>
Simple
PayloadReducer that will only pass along the local payload, ignoring the global
payload, without modification.- Since:
- 5.4.0
- Author:
- Simon Zambrovski
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LocalOnlyPayloadReducerSingleton instance ofLocalOnlyPayloadReducer.static final StringName ofLocalOnlyPayloadReducerreducer. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Field Details
-
NAME
Name ofLocalOnlyPayloadReducerreducer.- See Also:
-
INSTANCE
Singleton instance ofLocalOnlyPayloadReducer.
-
-
Constructor Details
-
LocalOnlyPayloadReducer
public LocalOnlyPayloadReducer()
-
-
Method Details
-
apply
-
name
Description copied from interface:PayloadReducerRetrieves the name of the reducer.- Specified by:
namein interfacePayloadReducer- Returns:
- reducer name.
-