Class TypedStreamWriterImpl
- java.lang.Object
-
- io.zeebe.engine.processing.streamprocessor.writers.TypedCommandWriterImpl
-
- io.zeebe.engine.processing.streamprocessor.writers.TypedStreamWriterImpl
-
- All Implemented Interfaces:
TypedCommandWriter,TypedStreamWriter
public final class TypedStreamWriterImpl extends TypedCommandWriterImpl implements TypedStreamWriter
-
-
Field Summary
-
Fields inherited from class io.zeebe.engine.processing.streamprocessor.writers.TypedCommandWriterImpl
batchWriter, metadata, noop, sourceRecordPosition, typeRegistry
-
-
Constructor Summary
Constructors Constructor Description TypedStreamWriterImpl(LogStreamBatchWriter batchWriter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendFollowUpEvent(long key, Intent intent, UnpackedObject value)voidappendFollowUpEvent(long key, Intent intent, UnpackedObject value, Consumer<RecordMetadata> metadata)voidappendNewEvent(long key, Intent intent, UnpackedObject value)voidappendRejection(TypedRecord<? extends UnpackedObject> command, RejectionType rejectionType, String reason)voidappendRejection(TypedRecord<? extends UnpackedObject> command, RejectionType rejectionType, String reason, Consumer<RecordMetadata> metadata)-
Methods inherited from class io.zeebe.engine.processing.streamprocessor.writers.TypedCommandWriterImpl
appendFollowUpCommand, appendFollowUpCommand, appendNewCommand, appendRecord, appendRecord, configureSourceContext, flush, initMetadata, reset
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.zeebe.engine.processing.streamprocessor.writers.TypedCommandWriter
appendFollowUpCommand, appendFollowUpCommand, appendNewCommand, flush, reset
-
Methods inherited from interface io.zeebe.engine.processing.streamprocessor.writers.TypedStreamWriter
configureSourceContext
-
-
-
-
Constructor Detail
-
TypedStreamWriterImpl
public TypedStreamWriterImpl(LogStreamBatchWriter batchWriter)
-
-
Method Detail
-
appendRejection
public void appendRejection(TypedRecord<? extends UnpackedObject> command, RejectionType rejectionType, String reason)
- Specified by:
appendRejectionin interfaceTypedStreamWriter
-
appendRejection
public void appendRejection(TypedRecord<? extends UnpackedObject> command, RejectionType rejectionType, String reason, Consumer<RecordMetadata> metadata)
- Specified by:
appendRejectionin interfaceTypedStreamWriter
-
appendNewEvent
public void appendNewEvent(long key, Intent intent, UnpackedObject value)- Specified by:
appendNewEventin interfaceTypedStreamWriter
-
appendFollowUpEvent
public void appendFollowUpEvent(long key, Intent intent, UnpackedObject value)- Specified by:
appendFollowUpEventin interfaceTypedStreamWriter
-
appendFollowUpEvent
public void appendFollowUpEvent(long key, Intent intent, UnpackedObject value, Consumer<RecordMetadata> metadata)- Specified by:
appendFollowUpEventin interfaceTypedStreamWriter
-
-