| |
|
| java.lang.Object org.jboss.test.jca.mbean.MTOperation
MTOperation | public class MTOperation implements Serializable(Code) | | MultiThreaded Operations that can be executed concurrently.
Based on Operation class.
author: Dimitris Andreadis version: $Revision: 57211 $ |
CF_BY_TX_LOOKUP | final public static int CF_BY_TX_LOOKUP(Code) | | |
CF_GET_CONN | final public static int CF_GET_CONN(Code) | | |
CF_LOOKUP | final public static int CF_LOOKUP(Code) | | |
CN_CLOSE_CONN | final public static int CN_CLOSE_CONN(Code) | | |
DS_CLOSE_CONN | final public static int DS_CLOSE_CONN(Code) | | |
DS_DEFAULT_LOOKUP | final public static int DS_DEFAULT_LOOKUP(Code) | | |
DS_GET_CONN | final public static int DS_GET_CONN(Code) | | |
DS_TEST_LOOKUP | final public static int DS_TEST_LOOKUP(Code) | | |
TM_BEGIN | final public static int TM_BEGIN(Code) | | |
TM_COMMIT | final public static int TM_COMMIT(Code) | | |
TM_GET_STATUS | final public static int TM_GET_STATUS(Code) | | Available Operations
|
TM_RESUME | final public static int TM_RESUME(Code) | | |
TM_SUSPEND | final public static int TM_SUSPEND(Code) | | |
TX_COMMIT | final public static int TX_COMMIT(Code) | | |
TX_REGISTER_SYNC | final public static int TX_REGISTER_SYNC(Code) | | |
XX_POST_SIGNAL | final public static int XX_POST_SIGNAL(Code) | | |
XX_SLEEP_200 | final public static int XX_SLEEP_200(Code) | | |
XX_SLEEP_RANDOM | final public static int XX_SLEEP_RANDOM(Code) | | |
XX_WAIT_FOR_CONN | final public static int XX_WAIT_FOR_CONN(Code) | | |
XX_WAIT_FOR_SIGNAL | final public static int XX_WAIT_FOR_SIGNAL(Code) | | |
XX_WAIT_FOR_TX | final public static int XX_WAIT_FOR_TX(Code) | | |
cf | protected static ConnectionFactory cf(Code) | | Shared reference to a connection factory
|
connections | protected static Map connections(Code) | | Shared connections
|
log | protected static Logger log(Code) | | The Logger
|
op | protected int op(Code) | | The operation to execute
|
signals | protected static Set signals(Code) | | Used for signaling between threads
|
testMarkedForExit | protected static boolean testMarkedForExit(Code) | | Set when the first unexpected throwable is encounter in any thread
|
throwable | protected Throwable throwable(Code) | | Set when an exception is expected
|
tm | protected static TransactionManager tm(Code) | | TM instance
|
transactions | protected static Map transactions(Code) | | Active Transactions
|
MTOperation | public MTOperation(int op)(Code) | | |
MTOperation | public MTOperation(int op, int id)(Code) | | |
checkTestMarkedForExit | public static void checkTestMarkedForExit() throws Exception(Code) | | Used by waiting threads to stop execution
throws: Exception - if the test if marked to exit |
destroy | public static void destroy()(Code) | | Cleanup
|
getTM | public static TransactionManager getTM() throws Exception(Code) | | Lazy TransactionManager lookup
|
init | public static void init(Logger log) throws Exception(Code) | | Setup static objects for the test
|
isTestMarkedForExit | public static boolean isTestMarkedForExit()(Code) | | Returns true if the test is marked for exit
|
setTestMarkedForExit | public static void setTestMarkedForExit(boolean testMarkedForExit)(Code) | | Tell the threads to exit
|
|
|
|