Interface TypedCommandWriter
- All Known Subinterfaces:
TypedStreamWriter
- All Known Implementing Classes:
NoopTypedStreamWriter
,TypedStreamWriterImpl
,TypedStreamWriterProxy
public interface TypedCommandWriter
Things that any actor can write to a partition.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendFollowUpCommand
(long key, Intent intent, RecordValue value) void
appendNewCommand
(Intent intent, RecordValue value) long
flush()
void
reset()
-
Method Details
-
appendNewCommand
-
appendFollowUpCommand
-
reset
void reset() -
flush
long flush()- Returns:
- position of new record, negative value on failure
-