Ontimize Document Management 0.035EN

com.ontimize.dms.jcr
Class LoadTest

java.lang.Object
  extended by java.lang.Thread
      extended by com.ontimize.dms.jcr.LoadTest
All Implemented Interfaces:
java.lang.Runnable

public class LoadTest
extends java.lang.Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
static java.lang.String DIR_PREFFIX
           
static boolean ENABLED
           
static java.lang.String FILE_PREFFIX
           
static int FILES_NUMBER
           
static int FOLDERS_NUMBER
           
protected  java.util.Map info
           
protected  JcrSession session
           
protected  int sessionId
           
static int SLEEP_TIME
          Time to sleep thread in milliseconds.
static boolean VERBOSE
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
LoadTest(int sessionId, java.util.Map info)
           
 
Method Summary
 void closeSession()
           
protected  void createParent()
           
protected  JcrSession createSession()
           
 void run()
           
protected  void setCache(long max)
           
 
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

ENABLED

public static boolean ENABLED

VERBOSE

public static boolean VERBOSE

SLEEP_TIME

public static int SLEEP_TIME

Time to sleep thread in milliseconds.


FOLDERS_NUMBER

public static int FOLDERS_NUMBER

FILES_NUMBER

public static int FILES_NUMBER

DIR_PREFFIX

public static java.lang.String DIR_PREFFIX

FILE_PREFFIX

public static java.lang.String FILE_PREFFIX

sessionId

protected int sessionId

info

protected java.util.Map info

session

protected JcrSession session
Constructor Detail

LoadTest

public LoadTest(int sessionId,
                java.util.Map info)
Method Detail

createSession

protected JcrSession createSession()

setCache

protected void setCache(long max)

createParent

protected void createParent()

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

closeSession

public void closeSession()

Ontimize Document Management