|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
com.jalios.io.HttpClientThread
public class HttpClientThread
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
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
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
HttpClientThread(java.lang.String commonUrl,
int commonCycles)
|
|
| Method Summary | |
|---|---|
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 |
| 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 |
|---|
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
| Constructor Detail |
|---|
public HttpClientThread(java.lang.String commonUrl,
int commonCycles)
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadprotected static void computeTime(long time)
public static void dump()
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||