cas
Class HeavyLoadClient
java.lang.Object
java.lang.Thread
cas.HeavyLoadClient
- All Implemented Interfaces:
- Runnable
- public class HeavyLoadClient
- extends Thread
Performs a load test on a CAS server.
- Author:
- Ralph Schuster
Constructor Summary |
HeavyLoadClient()
Creates a new instance of HeavyLoadClient |
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 |
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
HeavyLoadClient
public HeavyLoadClient()
- Creates a new instance of HeavyLoadClient
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