| org.objectweb.jonas.jtests.util.JTestCase org.objectweb.jonas.jtests.clients.distribution.A_bankRead
All known Subclasses: org.objectweb.jonas.jtests.clients.distribution.F_bankRO, org.objectweb.jonas.jtests.clients.distribution.A_bankLoad, org.objectweb.jonas.jtests.clients.distribution.A_bank, org.objectweb.jonas.jtests.clients.distribution.A_bankLwrite,
Method Summary | |
public void | createOpe(int action, int accmin, int accmax, int loops, int threads) | public void | createOpe(int action, int accmin, int accmax, int loops, int threads, int amount) | abstract public String | getManagerHomeName() | abstract public boolean | getPrefetch() | public void | ope(int action, int accmin, int accmax, int loops, int threads) | public void | ope(int action, int accmin, int accmax, int loops, int threads, int amount) | public void | ope(int action, int accmin, int accmax, int loops, int threads, int amount, boolean verify) generic operation. | protected void | setUp() | protected void | tearDown() | public void | test3Readers() | public void | test3ReadersTx() | public void | test4Readers() | public void | test4ReadersTx() | public void | test5Readers() | public void | test5ReadersTx() | public void | test8Readers() | public void | test8ReadersTx() | public void | testBasicRead() | public void | testBasicReadTx() | public void | testCheckAll() | public void | testMultiRead() | public void | testMultiReadTx() | public void | testMultiShortReadTx() |
OP_CREATE | final protected static int OP_CREATE(Code) | | |
OP_MOVE | final protected static int OP_MOVE(Code) | | |
OP_MOVETO | final protected static int OP_MOVETO(Code) | | |
OP_ONEMOVE | final protected static int OP_ONEMOVE(Code) | | |
OP_ONEMOVETX | final protected static int OP_ONEMOVETX(Code) | | |
OP_READ | final protected static int OP_READ(Code) | | |
OP_READTX | final protected static int OP_READTX(Code) | | |
OP_REMOVE | final protected static int OP_REMOVE(Code) | | |
accountNb | final static int accountNb(Code) | | |
initialValue | final static int initialValue(Code) | | |
threadfail | public static boolean threadfail(Code) | | |
createOpe | public void createOpe(int action, int accmin, int accmax, int loops, int threads) throws Exception(Code) | | Create test accounts and run test ope
|
createOpe | public void createOpe(int action, int accmin, int accmax, int loops, int threads, int amount) throws Exception(Code) | | Create test accounts and run test ope
|
getManagerHomeName | abstract public String getManagerHomeName()(Code) | | |
getPrefetch | abstract public boolean getPrefetch()(Code) | | |
ope | public void ope(int action, int accmin, int accmax, int loops, int threads) throws Exception(Code) | | |
ope | public void ope(int action, int accmin, int accmax, int loops, int threads, int amount) throws Exception(Code) | | |
ope | public void ope(int action, int accmin, int accmax, int loops, int threads, int amount, boolean verify) throws Exception(Code) | | generic operation.
Parameters: accmin - min range for account nb Parameters: accmax - max range for account nb Parameters: loops - nb of loop in each thread Parameters: threads - nb of threads running the same operations |
setUp | protected void setUp()(Code) | | |
test3Readers | public void test3Readers() throws Exception(Code) | | Operation= read
min range for account nb = 0
max range for account nb = 9
nb of loop in each thread = 10
nb of threads running the same operations = 3
verification of base's state
throws: Exception - |
test3ReadersTx | public void test3ReadersTx() throws Exception(Code) | | Operation= read in transaction
min range for account nb = 0
max range for account nb = 9
nb of loop in each thread = 10
nb of threads running the same operations = 3
verification of base's state
throws: Exception - |
test4Readers | public void test4Readers() throws Exception(Code) | | Operation= read
min range for account nb = 0
max range for account nb = 9
nb of loop in each thread = 10
nb of threads running the same operations = 4
verification of base's state
throws: Exception - |
test4ReadersTx | public void test4ReadersTx() throws Exception(Code) | | Operation= read in transaction
min range for account nb = 0
max range for account nb = 9
nb of loop in each thread = 10
nb of threads running the same operations = 4
verification of base's state
throws: Exception - |
test5Readers | public void test5Readers() throws Exception(Code) | | Operation= read
min range for account nb = 0
max range for account nb = 9
nb of loop in each thread = 10
nb of threads running the same operations = 5
verification of base's state
throws: Exception - |
test5ReadersTx | public void test5ReadersTx() throws Exception(Code) | | Operation= read in transaction
min range for account nb = 0
max range for account nb = 9
nb of loop in each thread = 10
nb of threads running the same operations = 5
verification of base's state
throws: Exception - |
test8Readers | public void test8Readers() throws Exception(Code) | | Operation= read
min range for account nb = 0
max range for account nb = 9
nb of loop in each thread = 10
nb of threads running the same operations = 8
verification of base's state
throws: Exception - |
test8ReadersTx | public void test8ReadersTx() throws Exception(Code) | | Operation= read in transaction
min range for account nb = 0
max range for account nb = 9
nb of loop in each thread = 10
nb of threads running the same operations = 8
verification of base's state
throws: Exception - |
testBasicRead | public void testBasicRead() throws Exception(Code) | | Operation= read
min range for account nb = 0
max range for account nb = 9
nb of loop in each thread = 1
nb of threads running the same operations = 1
no verification
throws: Exception - |
testBasicReadTx | public void testBasicReadTx() throws Exception(Code) | | Operation= read in transaction
min range for account nb = 0
max range for account nb = 9
nb of loop in each thread = 1
nb of threads running the same operations = 1
no verification
throws: Exception - |
testMultiRead | public void testMultiRead() throws Exception(Code) | | Operation= read outside transaction
min range for account nb = 0
max range for account nb = 9
nb of loop in each thread = 1
nb of threads running the same operations = 10
verification of base's state
throws: Exception - |
testMultiReadTx | public void testMultiReadTx() throws Exception(Code) | | Operation= read inside transaction
min range for account nb = 0
max range for account nb = 9
nb of loop in each thread = 1
nb of threads running the same operations = 10
verification of base's state
throws: Exception - |
testMultiShortReadTx | public void testMultiShortReadTx() throws Exception(Code) | | Operation= read inside transaction
min range for account nb = 0
max range for account nb = 9
nb of loop in each thread = 10
nb of threads running the same operations = 10
verification of base's state
throws: Exception - |
|
|