|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.mcgill.sel.aspectoptima.interfacing.AspectOPTIMA
public class AspectOPTIMA
Facade for the AspectOPTIMA framework providing access to all functionality
Constructor Summary | |
---|---|
AspectOPTIMA()
|
Method Summary | |
---|---|
static boolean |
abortTransaction()
Aborts the transaction that is associated to the currently active thread. |
static boolean |
beginChildTransaction()
Begins a nested transaction as a child of the transaction that is associated to the currently active thread using the configuration parameters of the parent transaction. |
static boolean |
beginTransaction(java.lang.String updateStrategy,
java.lang.String concurrencyControl,
boolean nested)
Begins a transaction using the passed update strategy and concurrency control mechanism. |
static boolean |
commitTransaction()
Commits the transaction that is associated to the currently active thread. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AspectOPTIMA()
Method Detail |
---|
public static boolean abortTransaction()
public static boolean beginChildTransaction()
public static boolean beginTransaction(java.lang.String updateStrategy, java.lang.String concurrencyControl, boolean nested)
updateStrategy
- "CHECKPOINTING" or "DEFERRING"concurrencyControl
- "TWOPHASELOCKING" or "OPTIMISTICVALIDATION"nested
- whether nested child transactions should be allowed or not
public static boolean commitTransaction()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |