@Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) @Inherited public @interface GlobalTransactional
| 限定符和类型 | 可选元素和说明 |
|---|---|
String |
name
Given name of the global transaction instance.
|
Class<? extends Throwable>[] |
noRollbackFor
not roll back for the Class
|
String[] |
noRollbackForClassName
not roll back for the class name
|
Propagation |
propagation
the propagation of the global transaction
|
Class<? extends Throwable>[] |
rollbackFor
roll back for the Class
|
String[] |
rollbackForClassName
roll back for the class name
|
int |
timeoutMills
Global transaction timeoutMills in MILLISECONDS.
|
public abstract int timeoutMills
public abstract String name
public abstract String[] rollbackForClassName
public abstract String[] noRollbackForClassName
public abstract Propagation propagation
Copyright © 2020 Seata. All rights reserved.