Class HttpPoster.StatusThread
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.manifoldcf.agents.output.gts.HttpPoster.StatusThread
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- HttpPoster
protected class HttpPoster.StatusThread extends java.lang.ThreadKillable thread that does a status check. Java 1.5 stopped permitting thread interruptions to abort socket waits. As a result, it is impossible to get threads to shutdown cleanly that are doing such waits. So, the places where this happens are segregated in their own threads so that they can be just abandoned. This thread does a status check.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Throwableexception
-
Constructor Summary
Constructors Constructor Description StatusThread()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThrowablegetException()voidrun()-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-