@Retention(value=RUNTIME) @Target(value=METHOD) @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
|
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
Copyright © 2023. All rights reserved.