|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplayAware
Interface indicating a component is aware of "replays". Typically, these will be Event Listeners that can rebuild their state based on Events stored in the Event Store.
Method Summary | |
---|---|
void |
afterReplay()
Invoked when a replay has finished. |
void |
beforeReplay()
Invoked when a replay is started. |
void |
onReplayFailed(Throwable cause)
Invoked when a replay has failed due to an exception. |
Method Detail |
---|
void beforeReplay()
void afterReplay()
void onReplayFailed(Throwable cause)
cause
- The exception that stopped the replay;
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |