org.jboss.test.cache.perf.basic
Class ReplicatedAsyncPerfTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.cache.perf.basic.ReplicatedAsyncPerfTestCase

public class ReplicatedAsyncPerfTestCase
extends TestCase

Replicated asynchronous mode performance test for transactional TreeCache

See Also:
Serialized Form

Constructor Summary
ReplicatedAsyncPerfTestCase(java.lang.String name)
           
 
Method Summary
protected  void oneCacheTx()
           
protected  void setLevelRW()
           
protected  void setLevelSerial()
           
 void setUp()
           
static Test suite()
           
 void tearDown()
           
 void test2CachesTx_RWLock()
           
 void test2CachesTx_SimpleLock()
           
 void test2CachesTxWithReplQueue_RWLock()
           
 void test2CachesTxWithReplQueue_SimpleLock()
           
 void test3CachesTx_RWLock()
           
 void test3CachesTx_SimpleLock()
           
 void testOneCacheTx_RWLock()
           
 void testOneCacheTx_SimpleLock()
           
protected  void threeCachesTx()
           
protected  void twoCachesTx()
           
protected  void twoCachesTxWithReplQueue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicatedAsyncPerfTestCase

public ReplicatedAsyncPerfTestCase(java.lang.String name)
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

public void tearDown()
              throws java.lang.Exception
Throws:
java.lang.Exception

setLevelRW

protected void setLevelRW()

setLevelSerial

protected void setLevelSerial()

testOneCacheTx_RWLock

public void testOneCacheTx_RWLock()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testOneCacheTx_SimpleLock

public void testOneCacheTx_SimpleLock()
                               throws java.lang.Exception
Throws:
java.lang.Exception

oneCacheTx

protected void oneCacheTx()
                   throws java.lang.Exception
Throws:
java.lang.Exception

test2CachesTx_RWLock

public void test2CachesTx_RWLock()
                          throws java.lang.Exception
Throws:
java.lang.Exception

test2CachesTx_SimpleLock

public void test2CachesTx_SimpleLock()
                              throws java.lang.Exception
Throws:
java.lang.Exception

twoCachesTx

protected void twoCachesTx()
                    throws java.lang.Exception
Throws:
java.lang.Exception

test2CachesTxWithReplQueue_RWLock

public void test2CachesTxWithReplQueue_RWLock()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

test2CachesTxWithReplQueue_SimpleLock

public void test2CachesTxWithReplQueue_SimpleLock()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

twoCachesTxWithReplQueue

protected void twoCachesTxWithReplQueue()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

test3CachesTx_RWLock

public void test3CachesTx_RWLock()
                          throws java.lang.Exception
Throws:
java.lang.Exception

test3CachesTx_SimpleLock

public void test3CachesTx_SimpleLock()
                              throws java.lang.Exception
Throws:
java.lang.Exception

threeCachesTx

protected void threeCachesTx()
                      throws java.lang.Exception
Throws:
java.lang.Exception

suite

public static Test suite()
                  throws java.lang.Exception
Throws:
java.lang.Exception