commit | author | age | ||
a18bfa | 1 | package com.codingapi.tx.compensate.service; |
Z | 2 | |
3 | ||
4 | import com.codingapi.tx.compensate.model.CompensateInfo; | |
5 | import com.codingapi.tx.model.TransactionInvocation; | |
6 | ||
7 | /** | |
8 | * create by lorne on 2017/11/11 | |
9 | */ | |
10 | public interface CompensateService { | |
11 | ||
12 | ||
13 | void saveLocal(CompensateInfo compensateInfo); | |
14 | ||
15 | boolean invoke(TransactionInvocation invocation, String groupId, int startState); | |
16 | ||
17 | } |