|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread org.apache.lokahi.core.controller.CheckJvmThread
public class CheckJvmThread
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
static java.lang.String |
contentMatch
|
static org.apache.log4j.Logger |
logger
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
CheckJvmThread()
private constructor. |
Method Summary | |
---|---|
static void |
doPrimaryFunction()
|
protected void |
finalize()
This method is called when the context shuts down. |
java.lang.String |
getContentMatch()
|
static CheckJvmThread |
getThreadInstance(java.lang.String val)
Returns a handle to the main thread. |
static java.lang.String |
isTheThreadRunning(java.lang.String test)
This method returns the value of the variable 'runThread' |
static void |
iterateJobPools(State s)
|
void |
run()
This method determines whether or not to run the designated process(e.g. |
boolean |
runTheThread()
This method returns the value of the variable 'runThread' |
static void |
startThread()
This method sets the value of the variable 'runThread' to true. |
static void |
stopThread()
This method sets the value of the variable 'runThread' to false |
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, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final org.apache.log4j.Logger logger
public static final java.lang.String contentMatch
Constructor Detail |
---|
public CheckJvmThread()
Method Detail |
---|
public static CheckJvmThread getThreadInstance(java.lang.String val)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public boolean runTheThread()
public static java.lang.String isTheThreadRunning(java.lang.String test)
public java.lang.String getContentMatch()
public static void startThread()
public static void stopThread()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public static void iterateJobPools(State s)
public static void doPrimaryFunction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |