/
TxTransactionInfo.java
60 lines (50 loc) · 1.34 KB
/
TxTransactionInfo.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
*
* Copyright 2017-2018 549477611@qq.com(xiaoyu)
*
* This copyrighted material is made available to anyone wishing to use, modify,
* copy, or redistribute it subject to the terms and conditions of the GNU
* Lesser General Public License, as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this distribution; if not, see <http://www.gnu.org/licenses/>.
*
*/
package com.raincat.common.bean;
import com.raincat.common.enums.PropagationEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* TxTransactionInfo.
* @author xiaoyu
*/
@AllArgsConstructor
public class TxTransactionInfo {
/**
* 补偿方法对象.
*/
@Getter
private TransactionInvocation invocation;
/**
* 分布式事务组.
*/
@Getter
private String txGroupId;
/**
* 事务补偿id.
*/
@Getter
private String compensationId;
/**
* 事务等待时间.
*/
@Getter
private int waitMaxTime;
@Getter
private PropagationEnum propagationEnum;
}