org.exoplatform.jcr.benchmark.usecases.portal
Class InitRepositoryAction
java.lang.Object
org.exoplatform.jcr.benchmark.usecases.portal.AbstractAction
org.exoplatform.jcr.benchmark.usecases.portal.AbstractWriteAction
org.exoplatform.jcr.benchmark.usecases.portal.InitRepositoryAction
public class InitRepositoryAction
- extends AbstractWriteAction
Action, performing repository initialization, by generating the structure of nodes with defined
parameters, like depth and maximum number of node per level (number of child-nodes)
- Version:
- $Id: InitDataBaseAction.java 34360 2009-07-22 23:58:59Z nzamosenchuk $
- Author:
- Nikolay Zamosenchuk
|
Constructor Summary |
InitRepositoryAction(javax.jcr.Session session,
java.lang.String rootName,
java.lang.String stringValue,
byte[] binaryValue,
int multiValueSize,
int depth,
int nodesPerLevel)
|
|
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 |
InitRepositoryAction
public InitRepositoryAction(javax.jcr.Session session,
java.lang.String rootName,
java.lang.String stringValue,
byte[] binaryValue,
int multiValueSize,
int depth,
int nodesPerLevel)
- Parameters:
session - Within this session, repository is initialisedrootName - Name of test's root nodestringValue - Constant for string valuesbinaryValue - Constant for binary valuesmultiValueSize - Number of items in multi-valued propertydepth - Depth of initializationnodesPerLevel - Number of child nodes on each level
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:
AbstractAction.perform()
Copyright © 2010 eXo Platform SAS. All Rights Reserved.