subclass should override this method to pass in a PersistentState
subclass should override this method to pass in a PersistentState
the framework has already offered two states
subclass should override this method to specify how a new message should update state
startTime that can be used to decide from when a source producer task should replay the data source, or from when a processor task should recover its checkpoint data in to in-memory state.
This can be used to cleanup resource when the application finished.
This can be used to cleanup resource when the application finished.
handler for unmanaged message
For managed message(type of Message), the sender mean nothing, you should not use this directory
For managed message(type of Message), the sender mean nothing, you should not use this directory
For unmanaged message, the sender represent the sender actor
PersistentTask is part of the transaction API
Users should extend this task if they want to get transaction support from the framework