org.apache.jackrabbit.oak.performance
Class ConcurrentReadTest
java.lang.Object
org.apache.jackrabbit.oak.performance.AbstractTest
org.apache.jackrabbit.oak.performance.ConcurrentReadTest
- Direct Known Subclasses:
- ConcurrentReadWriteTest
public class ConcurrentReadTest
- extends AbstractTest
Test case that traverses 10k unstructured nodes (100x100) while 50 concurrent
readers randomly access nodes from within this tree.
|
Field Summary |
protected static int |
NODE_COUNT
|
protected javax.jcr.Node |
root
|
|
Method Summary |
void |
afterSuite()
Run after all iterations of this test have been executed. |
void |
beforeSuite()
Run before any iterations of this test get executed. |
void |
runTest()
|
| Methods inherited from class org.apache.jackrabbit.oak.performance.AbstractTest |
addBackgroundJob, afterTest, beforeTest, execute, failOnRepositoryVersions, getCredentials, getRepository, getScale, loginReader, loginWriter, setUp, tearDown, toString |
NODE_COUNT
protected static final int NODE_COUNT
- See Also:
- Constant Field Values
root
protected javax.jcr.Node root
ConcurrentReadTest
public ConcurrentReadTest()
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 AbstractTest
- Throws:
Exception - if an error occurs
runTest
public void runTest()
throws Exception
- Specified by:
runTest in class AbstractTest
- Throws:
Exception
afterSuite
public void afterSuite()
throws Exception
- Description copied from class:
AbstractTest
- Run after all iterations of this test have been executed. Subclasses can
override this method to clean up static test content.
- Overrides:
afterSuite in class AbstractTest
- Throws:
Exception - if an error occurs
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.