org.exoplatform.jcr.benchmark.usecases.portal
Class ReadPageAction
java.lang.Object
org.exoplatform.jcr.benchmark.usecases.portal.AbstractAction
org.exoplatform.jcr.benchmark.usecases.portal.ReadPageAction
public class ReadPageAction
- extends AbstractAction
Accesses the JCR in anonymous/connected mode to x JCR nodes and for each
JCR Node accesses to y JCR properties (x and y are set in the configuration)
- Version:
- $Id: ReadPageAction.java 34360 2009-07-22 23:58:59Z nzamosenchuk $
- Author:
- Nikolay Zamosenchuk
|
Constructor Summary |
ReadPageAction(org.exoplatform.services.jcr.impl.core.RepositoryImpl repository,
java.lang.String workspace,
java.lang.String rootName,
int depth,
int nodeCount,
int propertyCount,
int missingNodeCount,
int missingPropertyCount,
boolean anonymous)
|
ReadPageAction(org.exoplatform.services.jcr.impl.core.RepositoryImpl repository,
java.lang.String workspace,
java.lang.String rootName,
int depth,
int nodeCount,
int propertyCount,
int missingNodeCount,
int missingPropertyCount,
boolean anonymous,
java.util.List<java.lang.String> queries)
|
|
Method Summary |
void |
perform()
Performs action on the page (possibly read, write or what ever) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadPageAction
public ReadPageAction(org.exoplatform.services.jcr.impl.core.RepositoryImpl repository,
java.lang.String workspace,
java.lang.String rootName,
int depth,
int nodeCount,
int propertyCount,
int missingNodeCount,
int missingPropertyCount,
boolean anonymous)
- Parameters:
repository - Repository instanceworkspace - Workspace namerootName - Name of test's root nodenodeCount - Number of nodes to readpropertyCount - Number of properties to readanonymous - Is true, then anonymous session is used.
ReadPageAction
public ReadPageAction(org.exoplatform.services.jcr.impl.core.RepositoryImpl repository,
java.lang.String workspace,
java.lang.String rootName,
int depth,
int nodeCount,
int propertyCount,
int missingNodeCount,
int missingPropertyCount,
boolean anonymous,
java.util.List<java.lang.String> queries)
- Parameters:
repository - Repository instanceworkspace - Workspace namerootName - Name of test's root nodenodeCount - Number of nodes to readpropertyCount - Number of properties to readanonymous - Is true, then anonymous session is used.queries - List of queries to perform inside operation
perform
public void perform()
throws javax.jcr.RepositoryException
- Description copied from class:
AbstractAction
- Performs action on the page (possibly read, write or what ever)
- Specified by:
perform in class AbstractAction
- Throws:
javax.jcr.RepositoryException- See Also:
org.exoplatform.jcr.benchmark.usecases.portal.AbstractAction#perform(javax.jcr.Session)
Copyright © 2010 eXo Platform SAS. All Rights Reserved.