|
|||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use OMTTThread | |
---|---|
ca.mcgill.sel.aspectoptimaomtt.interfacing |
Uses of OMTTThread in ca.mcgill.sel.aspectoptimaomtt.interfacing |
---|
Methods in ca.mcgill.sel.aspectoptimaomtt.interfacing that return OMTTThread | ||
---|---|---|
static OMTTThread |
AspectOPTIMAOMTT.beginAndRunTransactionInNewThread(java.lang.Runnable r,
java.lang.String updateStrategy,
java.lang.String concurrencyControl,
boolean nested)
Begins an OpenMultithreadedTransaction in a new thread using the passed update strategy and concurrency control mechanism. |
|
static OMTTThread |
AspectOPTIMAOMTT.beginAndRunTransactionInNewThread(java.lang.Runnable r,
java.lang.String updateStrategy,
java.lang.String concurrencyControl,
boolean nested,
int minParticipantCount,
int maxParticipantCount)
Begins an OpenMultithreadedTransaction in a new thread using the passed update strategy and concurrency control mechanism and sets the minimal and maximal number of participants to the provided values. |
|
static OMTTThread |
AspectOPTIMAOMTT.beginTransactionInNewThread(java.lang.String updateStrategy,
java.lang.String concurrencyControl,
boolean nested)
Begins an OpenMultithreadedTransaction in a new thread using the passed update strategy and concurrency control mechanism. |
|
static OMTTThread |
AspectOPTIMAOMTT.beginTransactionInNewThread(java.lang.String updateStrategy,
java.lang.String concurrencyControl,
boolean nested,
int minParticipantCount,
int maxParticipantCount)
Begins an OpenMultithreadedTransaction in a new thread using the passed update strategy and concurrency control mechanism and sets the minimal and maximal number of participants to the provided values. |
|
static
|
AspectOPTIMAOMTT.getThread(T key)
Returns the thread that is mapped to the passed key. |
|
static OMTTThread |
AspectOPTIMAOMTT.spawnAndReturnTransactionParticipantFromExistingThread(OMTTThread spawningThread)
Spawns a participant of an OpenMultithreadedTransaction using the transaction that is associated to the thread that was passed as an argument. |
|
static OMTTThread |
AspectOPTIMAOMTT.spawnAndRunTransactionParticipantFromCurrentThread(java.lang.Runnable r)
Spawns a participant of an OpenMultithreadedTransaction using the transaction that is associated to the currently executing thread. |
|
static OMTTThread |
AspectOPTIMAOMTT.spawnRunAndReturnTransactionParticipantFromExistingThread(java.lang.Runnable r,
OMTTThread spawningThread)
Spawns a participant of an OpenMultithreadedTransaction using the transaction that is associated to the thread that was passed as an argument. |
|
static OMTTThread |
AspectOPTIMAOMTT.spawnTransactionParticipantFromCurrentThread()
Spawns a participant of an OpenMultithreadedTransaction using the transaction that is associated to the currently executing thread. |
Methods in ca.mcgill.sel.aspectoptimaomtt.interfacing with parameters of type OMTTThread | ||
---|---|---|
static boolean |
AspectOPTIMAOMTT.abortTransactionOfForeignThread(OMTTThread thread)
Aborts the transaction that is associated to the currently active thread. |
|
static boolean |
AspectOPTIMAOMTT.commitTransactionOfForeignThread(OMTTThread thread)
Commits the OpenMultithreadedTransaction that is associated to the thread that is passed as an argument |
|
static boolean |
AspectOPTIMAOMTT.joinAndRunTransactionWithExistingThread(java.lang.Runnable r,
OMTTThread threadToJoin,
OMTTThread joiningThread)
Lets the thread that is passed as joiningThread join the OpenMultithreadedTransaction of the thread that was passed as threadToJoin. |
|
static boolean |
AspectOPTIMAOMTT.joinCurrentTransactionWithExistingThread(OMTTThread joiningThread)
Lets the thread that is passed as joiningThread join the OpenMultithreadedTransaction of the currently executing thread. |
|
static boolean |
AspectOPTIMAOMTT.joinTransactionWithCurrentThread(OMTTThread threadToJoin)
Lets the currently executing thread join the OpenMultithreadedTransaction of the thread that was passed as an argument. |
|
static boolean |
AspectOPTIMAOMTT.joinTransactionWithExistingThread(OMTTThread threadToJoin,
OMTTThread joiningThread)
Lets the thread that is passed as joiningThread join the OpenMultithreadedTransaction of the thread that was passed as threadToJoin. |
|
static
|
AspectOPTIMAOMTT.mapKeyToThread(T key,
OMTTThread thread)
Maps the passed key object to the passed thread for futher reference. |
|
static void |
AspectOPTIMAOMTT.setMinParticipantCountInExistingThread(OMTTThread thread,
int min)
|
|
static OMTTThread |
AspectOPTIMAOMTT.spawnAndReturnTransactionParticipantFromExistingThread(OMTTThread spawningThread)
Spawns a participant of an OpenMultithreadedTransaction using the transaction that is associated to the thread that was passed as an argument. |
|
static void |
AspectOPTIMAOMTT.spawnRunAndForgetTransactionParticipantFromExistingThread(java.lang.Runnable r,
OMTTThread spawningThread)
Spawns a participant of an OpenMultithreadedTransaction using the transaction that is associated to the thread that was passed as an argument. |
|
static OMTTThread |
AspectOPTIMAOMTT.spawnRunAndReturnTransactionParticipantFromExistingThread(java.lang.Runnable r,
OMTTThread spawningThread)
Spawns a participant of an OpenMultithreadedTransaction using the transaction that is associated to the thread that was passed as an argument. |
|
|||||||
PREV NEXT | FRAMES NO FRAMES |