@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Transaction
These functions are called in client SDKs by the combination of
[contractname]:[transactioname]Unless specified otherwise, the contract name is the class name (without package) and the transaction name is the method name.
Modifier and Type | Optional Element and Description |
---|---|
Transaction.TYPE |
intent
What are submit semantics for this transaction.
|
java.lang.String |
name
The name of the callable transaction if it should be different to the method
name.
|
boolean |
submit
Deprecated.
Please use intent
|
@Deprecated public abstract boolean submit
public abstract Transaction.TYPE intent