public abstract class AbstractReplayAwareSagaManager extends Object implements SagaManager, ReplayAware
| Constructor and Description |
|---|
AbstractReplayAwareSagaManager() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
setReplayable(boolean replayable)
Sets whether or not to allow event replay on managed Sagas.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlegetTargetTypepublic void setReplayable(boolean replayable)
false the saga manager will
throw an IllegalStateException before a replay is started. Defaults to false.replayable - whether or not to allow event replays on managed Sagas.public void beforeReplay()
ReplayAwarebeforeReplay in interface ReplayAwarepublic void afterReplay()
ReplayAwareafterReplay in interface ReplayAwarepublic void onReplayFailed(Throwable cause)
ReplayAwareonReplayFailed in interface ReplayAwarecause - The exception that stopped the replay;Copyright © 2010-2015. All Rights Reserved.