public class HttpClientThread
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
protected HttpClient |
client |
protected static int |
cycles |
protected static java.lang.String |
IN |
protected static java.lang.Object[] |
reqCount |
protected static int |
REQCOUNT |
protected static int |
reqCountCpt |
protected static java.lang.String |
REQUEST |
static java.lang.String |
REVISION |
protected static long[] |
timeCount |
protected static int |
timeCountCpt |
protected static long |
timeMax |
protected static java.lang.String |
url |
Constructor and Description |
---|
HttpClientThread(java.lang.String commonUrl,
int commonCycles) |
Modifier and Type | Method and Description |
---|---|
protected static void |
computeTime(long time)
The Synchronized method that compute overall time
|
static void |
dump() |
static void |
main(java.lang.String[] args)
The Main Method
|
void |
run()
The Run method that call a request
|
activeCount, checkAccess, clone, 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
public static final java.lang.String REVISION
protected static final java.lang.String REQUEST
protected static final java.lang.String IN
protected static final int REQCOUNT
protected static java.lang.String url
protected static int cycles
protected static long timeMax
protected static java.lang.Object[] reqCount
protected static int reqCountCpt
protected static long[] timeCount
protected static int timeCountCpt
protected HttpClient client
public HttpClientThread(java.lang.String commonUrl, int commonCycles)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
protected static void computeTime(long time)
public static void dump()
public static void main(java.lang.String[] args)
Copyright © 2001-2017 Jalios SA. All Rights Reserved.