Class Proxy
-
- All Implemented Interfaces:
-
java.lang.Runnable
public class Proxy extends Thread
Thread to handle one client request. Gets the request from the client and passes it on to the server, then sends the response back to the client. Information about the request and response is stored so it can be used in a JMeter test plan.
-
-
Field Summary
Fields Modifier and Type Field Description public volatile Stringnamepublic intprioritypublic ClassLoadercontextClassLoaderpublic final static intMIN_PRIORITYpublic final static intNORM_PRIORITYpublic final static intMAX_PRIORITYpublic volatile Thread.UncaughtExceptionHandleruncaughtExceptionHandlerpublic static volatile Thread.UncaughtExceptionHandlerdefaultUncaughtExceptionHandler
-
Constructor Summary
Constructors Constructor Description Proxy()Default constructor - used by newInstance call in Daemon
-
Method Summary
Modifier and Type Method Description voidrun()Main processing method for the Proxy object static voidsetCounter(int value)Set the counter for all registered SamplerCreatorFactorys -
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, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, start, stop, suspend, toString, yield -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
run
void run()
Main processing method for the Proxy object
-
setCounter
static void setCounter(int value)
Set the counter for all registered SamplerCreatorFactorys
- Parameters:
value- to be initialized
-
-
-
-