org.prevayler.demos.scalability.prevayler
Class PrevaylerTransactionSubject

java.lang.Object
  extended by org.prevayler.demos.scalability.prevayler.PrevaylerTransactionSubject
All Implemented Interfaces:
ScalabilityTestSubject

public class PrevaylerTransactionSubject
extends Object


Field Summary
protected  Prevayler prevayler
           
 
Constructor Summary
PrevaylerTransactionSubject(String journalDirectory, String journalSerializer)
           
 
Method Summary
 Object createTestConnection()
           
 boolean isConsistent()
           
 String name()
           
 void replaceAllRecords(int records)
           
 void reportResourcesUsed(PrintStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prevayler

protected Prevayler prevayler
Constructor Detail

PrevaylerTransactionSubject

public PrevaylerTransactionSubject(String journalDirectory,
                                   String journalSerializer)
                            throws Exception
Throws:
Exception
Method Detail

createTestConnection

public Object createTestConnection()

reportResourcesUsed

public void reportResourcesUsed(PrintStream out)

isConsistent

public boolean isConsistent()
                     throws Exception
Throws:
Exception

name

public String name()
Specified by:
name in interface ScalabilityTestSubject

replaceAllRecords

public void replaceAllRecords(int records)
Specified by:
replaceAllRecords in interface ScalabilityTestSubject


Copyright © 2001-2013. All Rights Reserved.