public class SagaExecutionState extends Object
| Constructor and Description |
|---|
SagaExecutionState() |
SagaExecutionState(int currentlyExecuting,
boolean compensating) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentlyExecuting() |
boolean |
isCompensating() |
boolean |
isEndState() |
static SagaExecutionState |
makeEndState() |
SagaExecutionState |
nextState(int size) |
void |
setCompensating(boolean compensating) |
void |
setCurrentlyExecuting(int currentlyExecuting) |
void |
setEndState(boolean endState) |
SagaExecutionState |
startCompensating() |
String |
toString() |
public SagaExecutionState()
public SagaExecutionState(int currentlyExecuting,
boolean compensating)
public int getCurrentlyExecuting()
public void setCurrentlyExecuting(int currentlyExecuting)
public boolean isCompensating()
public void setCompensating(boolean compensating)
public SagaExecutionState startCompensating()
public SagaExecutionState nextState(int size)
public boolean isEndState()
public void setEndState(boolean endState)
public static SagaExecutionState makeEndState()
Copyright © 2018. All rights reserved.