Class NoopLegacyTypedStreamWriter
java.lang.Object
io.camunda.zeebe.engine.processing.streamprocessor.writers.NoopLegacyTypedStreamWriter
- All Implemented Interfaces:
LegacyTypedCommandWriter,LegacyTypedStreamWriter,TypedCommandWriter,TypedEventWriter,TypedRejectionWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendFollowUpCommand(long key, Intent intent, RecordValue value) voidappendFollowUpEvent(long key, Intent intent, RecordValue value) voidappendNewCommand(Intent intent, RecordValue value) voidappendRecord(long key, RecordType type, Intent intent, RejectionType rejectionType, String rejectionReason, RecordValue value) voidappendRejection(TypedRecord<? extends RecordValue> command, RejectionType type, String reason) voidconfigureSourceContext(long sourceRecordPosition) longflush()intvoidreset()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.writers.TypedEventWriter
canWriteEventOfLength
-
Constructor Details
-
NoopLegacyTypedStreamWriter
public NoopLegacyTypedStreamWriter()
-
-
Method Details
-
appendRejection
public void appendRejection(TypedRecord<? extends RecordValue> command, RejectionType type, String reason) - Specified by:
appendRejectionin interfaceTypedRejectionWriter
-
appendRecord
public void appendRecord(long key, RecordType type, Intent intent, RejectionType rejectionType, String rejectionReason, RecordValue value) - Specified by:
appendRecordin interfaceLegacyTypedStreamWriter
-
configureSourceContext
public void configureSourceContext(long sourceRecordPosition) - Specified by:
configureSourceContextin interfaceLegacyTypedStreamWriter
-
appendFollowUpEvent
- Specified by:
appendFollowUpEventin interfaceTypedEventWriter
-
getMaxEventLength
public int getMaxEventLength()- Specified by:
getMaxEventLengthin interfaceTypedEventWriter- Returns:
- the maximum event length
-
appendNewCommand
- Specified by:
appendNewCommandin interfaceLegacyTypedCommandWriter- Specified by:
appendNewCommandin interfaceTypedCommandWriter
-
appendFollowUpCommand
- Specified by:
appendFollowUpCommandin interfaceLegacyTypedCommandWriter- Specified by:
appendFollowUpCommandin interfaceTypedCommandWriter
-
reset
public void reset()- Specified by:
resetin interfaceLegacyTypedCommandWriter
-
flush
public long flush()- Specified by:
flushin interfaceLegacyTypedCommandWriter- Returns:
- position of new record, negative value on failure
-