ca.mcgill.sel.aspectoptimaomtt.aspects.openmultithreadedtransaction
Annotation Type OMTTransactableMethod
@Target(value=METHOD)
@Documented
@Retention(value=RUNTIME)
public @interface OMTTransactableMethod
Marks a method as Transactable for OpenMultithreadedTransactions within
the AspectOPTIMA Framework.
The parameter accessKind() should provide the kind of access (i.e.
AccessKind.READ, AccessKind.WRITE, AccessKind.UPDATE) and defaults to
AccessKind.WRITE.
The parameter updateStrategy() should provide the update strategy (i.e
UpdateStrategy.CHECKPOINTING or UpdateStrategy.DEFERRING).
The parameter concurrencyControl() should provide the concurrency control
mechanism (i.e ConcurrencyControl.TWOPHASELOCKING or
ConcurrencyControl.OPTIMISTICVALIDATION).
The parameter nested() decides whether nested transactions are allowed.
Classes containing OMTTransactableClass methods should be annotated with
accessKind
public abstract ca.mcgill.sel.aspectoptima.aspects.accessclassified.AccessKind accessKind
concurrencyControl
public abstract ConcurrencyControl concurrencyControl
nested
public abstract boolean nested
updateStrategy
public abstract UpdateStrategy updateStrategy