TryRollback
method in Coherence.Toolkit
Methods
public bool TryRollback(long mispredictionFrame, out TState validState)
Attempts to roll back the state store returning the latest valid state.
Parameters
Type | Name | Description |
---|---|---|
long | mispredictionFrame | Last mispredicted frame. |
TState | validState | Last known valid state. |
Returns
Type | Description |
---|---|
bool | False if there is no state in the store or the misprediction frame falls outside the store range. |