Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
HollowIncrementalProducer - added restoreFromLastState [proposal] #181
This pull request:
With the introduction of #178 and this, users could now write the first cycle using the incremental directly and restore from previous states. This would significantly reduce their code by avoiding all that logic that basically everyone would have to write in order to restore an incremental producer.
In the future
@rpalcolea This looks good. It currently is a little involved to know how and in what order to initialize the classic producer in order to properly use the incremental producer.
This would allow the client to call the restoreFromLastState at any point, but know that the necessary objects should be present. This would also allow for controls to be added around running the first cycle only after restoring (or verifying a previous does not exist)