JCas
v0.3.1

cas
Class HeavyLoadClient

java.lang.Object
  extended byjava.lang.Thread
      extended bycas.HeavyLoadClient
All Implemented Interfaces:
Runnable

public class HeavyLoadClient
extends Thread

Performs a load test on a CAS server.

Author:
Ralph Schuster

Field Summary
protected static long allCount
           
protected static long allFailed
           
protected static long allStart
           
protected static long allStop
           
protected static long allSuccess
           
protected static String host
           
protected static long loopMax
           
protected static String passwd
           
protected static int port
           
protected static String scheme
           
protected static boolean ssl
           
protected static String user
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
HeavyLoadClient()
          Creates a new instance of HeavyLoadClient
 
Method Summary
protected static void addCount(long l)
           
protected static void addFailed(long l)
           
protected static void addSuccess(long l)
           
static void main(String[] args)
           
 void run()
           
protected static void setStart(long l)
           
protected static void setStop(long l)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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

host

protected static String host

port

protected static int port

scheme

protected static String scheme

user

protected static String user

passwd

protected static String passwd

loopMax

protected static long loopMax

ssl

protected static boolean ssl

allSuccess

protected static long allSuccess

allFailed

protected static long allFailed

allCount

protected static long allCount

allStart

protected static long allStart

allStop

protected static long allStop
Constructor Detail

HeavyLoadClient

public HeavyLoadClient()
Creates a new instance of HeavyLoadClient

Method Detail

run

public void run()

addSuccess

protected static void addSuccess(long l)

addFailed

protected static void addFailed(long l)

addCount

protected static void addCount(long l)

setStart

protected static void setStart(long l)

setStop

protected static void setStop(long l)

main

public static void main(String[] args)
Parameters:
args - the command line arguments

JCas
v0.3.1