Class ResultBuilderBackedTypedResponseWriter
java.lang.Object
io.camunda.zeebe.engine.processing.streamprocessor.writers.ResultBuilderBackedTypedResponseWriter
- All Implemented Interfaces:
TypedResponseWriter
-
Method Summary
Modifier and TypeMethodDescriptionprotected ProcessingResultBuilder
void
writeEvent
(TypedRecord<?> event) void
writeEventOnCommand
(long eventKey, Intent eventState, UnpackedObject eventValue, TypedRecord<?> command) void
writeRejectionOnCommand
(TypedRecord<?> command, RejectionType type, String reason) void
writeResponse
(long eventKey, Intent eventState, UnpackedObject eventValue, ValueType valueType, long requestId, int requestStreamId)
-
Method Details
-
writeRejectionOnCommand
- Specified by:
writeRejectionOnCommand
in interfaceTypedResponseWriter
-
writeEvent
- Specified by:
writeEvent
in interfaceTypedResponseWriter
-
writeEventOnCommand
public void writeEventOnCommand(long eventKey, Intent eventState, UnpackedObject eventValue, TypedRecord<?> command) - Specified by:
writeEventOnCommand
in interfaceTypedResponseWriter
-
writeResponse
public void writeResponse(long eventKey, Intent eventState, UnpackedObject eventValue, ValueType valueType, long requestId, int requestStreamId) - Specified by:
writeResponse
in interfaceTypedResponseWriter
-
resultBuilder
-