ReplayState (enum)
Introduced in support of the Command Replay Feature.
API
enum ReplayState {
UNDEFINED (1)
EXPORTED (2)
PENDING (3)
OK (4)
FAILED (5)
EXCLUDED (6)
boolean isExported()
boolean isFailed()
boolean isExportable()
boolean isPendingOrFailed()
boolean isReplayable()
boolean isOkOrExcluded()
boolean isExecutedOk() (7)
boolean isExportable(ReplayState replayState)
boolean isExported(ReplayState replayState)
boolean isPendingOrFailed(ReplayState replayState)
boolean isReplayable(ReplayState replayState)
boolean isOkOrExcluded(ReplayState replayState)
}
| 1 | UNDEFINED
As used on primary system, indicating an initial state. |
| 2 | EXPORTED
Marks a CommandLogEntry as exported, such that consecutive export actions will skip those. |
| 3 | PENDING
For use on secondary system, indicates that the command has not yet been replayed. |
| 4 | OK
For use on secondary system, indicates that the command has been replayed ok |
| 5 | FAILED
For use on secondary system, indicates that the command has been replayed but encountered an error |
| 6 | EXCLUDED
For use on secondary system, indicates that the command should not be replayed. |
| 7 | isExecutedOk()
Whether the command is considered to have executed successfully: either a recorded-only command that was never replayed ( #UNDEFINED ), or one that replayed successfully ( #OK ). Used to decide when a participant’s recorded bookmark may stand in as its actual bookmark. |
Members
EXPORTED
Marks a CommandLogEntry as exported, such that consecutive export actions will skip those.