public class SpringCommandRepository extends Object implements CommandRepository
| Modifier and Type | Method and Description |
|---|---|
List<Command> |
findFirstCommandToCompensate() |
List<Command> |
findUncompletedCommands(String globalTxId) |
void |
markCommandAsDone(String globalTxId,
String localTxId) |
void |
saveCompensationCommands(String globalTxId) |
public void saveCompensationCommands(String globalTxId)
saveCompensationCommands in interface CommandRepositorypublic void markCommandAsDone(String globalTxId, String localTxId)
markCommandAsDone in interface CommandRepositorypublic List<Command> findUncompletedCommands(String globalTxId)
findUncompletedCommands in interface CommandRepositorypublic List<Command> findFirstCommandToCompensate()
findFirstCommandToCompensate in interface CommandRepositoryCopyright © 2017–2018 The Apache Software Foundation. All rights reserved.