org.objectweb.cjdbc.scenario.raidb2
Class Raidb2BasicFailoverScenario

java.lang.Object
  extended byTestCase
      extended byorg.objectweb.cjdbc.scenario.templates.NoTemplate
          extended byorg.objectweb.cjdbc.scenario.templates.Template
              extended byorg.objectweb.cjdbc.scenario.templates.SimpleRaidb2Template
                  extended byorg.objectweb.cjdbc.scenario.raidb2.Raidb2BasicFailoverScenario

public class Raidb2BasicFailoverScenario
extends SimpleRaidb2Template

This class defines a Raidb1BasicFailoverScenario

Version:
1.0
Author:
Nicolas Modrzyk
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.SimpleRaidb2Template
cm, controller, hm, hm1, hm2, mainVdb
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
logger, TEXT_DIR
 
Constructor Summary
Raidb2BasicFailoverScenario()
           
 
Method Summary
private  void execute()
          Execute the test for failover once the database is loaded
 void testFailOverWithFailFastPool()
          Test CJDBC failover in raidb1 with fail fast pool
 void testFailOverWithNoPool()
          Test CJDBC failover in raidb1 with simple connection manager
 void testFailOverWithRandomWaitPool()
          Test CJDBC failover in raidb1 with randomwait pool
 void testFailOverWithVariablePool()
          Test CJDBC failover in raidb1 with variable pool
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.SimpleRaidb2Template
setUp, tearDown
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.Template
getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getHypersonicConnection
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
getTextPath, getUserDir
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Raidb2BasicFailoverScenario

public Raidb2BasicFailoverScenario()
Method Detail

testFailOverWithVariablePool

public void testFailOverWithVariablePool()
                                  throws java.lang.Exception
Test CJDBC failover in raidb1 with variable pool

Throws:
java.lang.Exception - if fails

testFailOverWithRandomWaitPool

public void testFailOverWithRandomWaitPool()
                                    throws java.lang.Exception
Test CJDBC failover in raidb1 with randomwait pool

Throws:
java.lang.Exception - if fails

testFailOverWithFailFastPool

public void testFailOverWithFailFastPool()
                                  throws java.lang.Exception
Test CJDBC failover in raidb1 with fail fast pool

Throws:
java.lang.Exception - if fails

testFailOverWithNoPool

public void testFailOverWithNoPool()
                            throws java.lang.Exception
Test CJDBC failover in raidb1 with simple connection manager

Throws:
java.lang.Exception - if fails

execute

private void execute()
              throws java.lang.Exception
Execute the test for failover once the database is loaded

Throws:
java.lang.Exception


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.