org.apache.jackrabbit.oak.performance
Class ConcurrentReadWriteTest

java.lang.Object
  extended by org.apache.jackrabbit.oak.performance.AbstractTest
      extended by org.apache.jackrabbit.oak.performance.ConcurrentReadTest
          extended by org.apache.jackrabbit.oak.performance.ConcurrentReadWriteTest

public class ConcurrentReadWriteTest
extends ConcurrentReadTest

A ConcurrentReadTest with a single writer thread that continuously updates the nodes being accessed by the readers.


Field Summary
 
Fields inherited from class org.apache.jackrabbit.oak.performance.ConcurrentReadTest
NODE_COUNT, root
 
Constructor Summary
ConcurrentReadWriteTest()
           
 
Method Summary
 void beforeSuite()
          Run before any iterations of this test get executed.
 
Methods inherited from class org.apache.jackrabbit.oak.performance.ConcurrentReadTest
afterSuite, runTest
 
Methods inherited from class org.apache.jackrabbit.oak.performance.AbstractTest
addBackgroundJob, afterTest, beforeTest, execute, failOnRepositoryVersions, getCredentials, getRepository, getScale, loginReader, loginWriter, setUp, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConcurrentReadWriteTest

public ConcurrentReadWriteTest()
Method Detail

beforeSuite

public void beforeSuite()
                 throws Exception
Description copied from class: AbstractTest
Run before any iterations of this test get executed. Subclasses can override this method to set up static test content.

Overrides:
beforeSuite in class ConcurrentReadTest
Throws:
Exception - if an error occurs


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.