org.objectweb.cjdbc.scenario.raidb1.recoverylog
Class BasicRecoveryScenario

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.Raidb1RecoveryTemplate
                  extended byorg.objectweb.cjdbc.scenario.raidb1.recoverylog.BasicRecoveryScenario

public class BasicRecoveryScenario
extends Raidb1RecoveryTemplate

If a backend is disable from a checkpoint, the other backends receive updates, and then we enable the backend again, the recovery log should replay all the missing requests.

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

Field Summary
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.Raidb1RecoveryTemplate
cm, controller, hm, hm1, hm2, hm3, mainVdb
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
logger, TEXT_DIR
 
Constructor Summary
BasicRecoveryScenario()
           
 
Method Summary
 void testLastKnownCheckpoint()
          Test the last known checkpoint is properly set after a disable
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.Raidb1RecoveryTemplate
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

BasicRecoveryScenario

public BasicRecoveryScenario()
Method Detail

testLastKnownCheckpoint

public void testLastKnownCheckpoint()
                             throws java.lang.Exception
Test the last known checkpoint is properly set after a disable

Throws:
java.lang.Exception - if fails


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