|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.exoplatform.wcm.benchmark.preparation.repository.RepoloadWorker
public class RepoloadWorker
Asynchronous creation of the trees starting from level 2.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
log
The log. |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
RepoloadWorker(RepoloadServiceImpl repoload,
int l1,
int firstWord,
int secondWord,
int startIndex,
boolean[] randomPeriod,
java.util.concurrent.CountDownLatch loch)
Constructor Initializes variables. |
|
| Method Summary | |
|---|---|
org.exoplatform.services.jcr.impl.dataflow.TransientValueData |
getFileValueData()
Gets the file value data. |
java.util.Random |
getRandom()
Gets the random. |
int |
getSpetialTitleCount()
Gets the spetial title count. |
int |
getTotalFile()
Return total number of loaded files. |
void |
run()
Creates the tree from leve 2 and the files in the leaves. |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public RepoloadWorker(RepoloadServiceImpl repoload,
int l1,
int firstWord,
int secondWord,
int startIndex,
boolean[] randomPeriod,
java.util.concurrent.CountDownLatch loch)
throws java.io.IOException
randomPeriod - the random periodloch - the lochrepoload - the repoloadl1 - the l1firstWord - the first wordsecondWord - the second wordstartIndex - the start index
java.io.IOException - Signals that an I/O exception has occurred.| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic int getSpetialTitleCount()
public org.exoplatform.services.jcr.impl.dataflow.TransientValueData getFileValueData()
public int getTotalFile()
public java.util.Random getRandom()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||