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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
appendFollowUpCommand(long key, Intent intent, RecordValue value)
void
appendNewCommand(Intent intent, RecordValue value)
long
flush()
void
reset()
-
-
-
Method Detail
-
appendNewCommand
void appendNewCommand(Intent intent, RecordValue value)
-
appendFollowUpCommand
void appendFollowUpCommand(long key, Intent intent, RecordValue value)
-
reset
void reset()
-
flush
long flush()
- Returns:
- position of new record, negative value on failure
-
-