org.objectweb.cjdbc.scenario.raidb1.cache
Class OutOfMemoryCacheScenario

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.SimpleRaidb1Template
                  extended byorg.objectweb.cjdbc.scenario.templates.Raidb1Template
                      extended byorg.objectweb.cjdbc.scenario.raidb1.cache.OutOfMemoryCacheScenario

public class OutOfMemoryCacheScenario
extends Raidb1Template

This class defines a OutOfMemoryCacheScenario

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

Field Summary
(package private)  boolean cleanTables
           
(package private)  int NUMBER_ROUND
           
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.SimpleRaidb1Template
cm, controller, controllerProcess, hm, hm1, hm2, mainVdb
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
logger, TEXT_DIR
 
Constructor Summary
OutOfMemoryCacheScenario()
           
 
Method Summary
private  void batchAdd(java.sql.Connection con, java.lang.String table)
           
private  void cleanTableCache(java.sql.Connection con, java.lang.String table, java.lang.String column)
           
private  void round(java.sql.Connection con)
           
 void testMultipleAdd()
           
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.Raidb1Template
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
 

Field Detail

NUMBER_ROUND

int NUMBER_ROUND

cleanTables

boolean cleanTables
Constructor Detail

OutOfMemoryCacheScenario

public OutOfMemoryCacheScenario()
Method Detail

testMultipleAdd

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

round

private void round(java.sql.Connection con)
            throws java.lang.Exception
Throws:
java.lang.Exception

cleanTableCache

private void cleanTableCache(java.sql.Connection con,
                             java.lang.String table,
                             java.lang.String column)
                      throws java.lang.Exception
Throws:
java.lang.Exception

batchAdd

private void batchAdd(java.sql.Connection con,
                      java.lang.String table)
               throws java.lang.Exception
Throws:
java.lang.Exception


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