|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Thread
org.apache.manifoldcf.agents.output.gts.HttpPoster.DeleteThread
protected class HttpPoster.DeleteThread
Killable thread that does deletions. 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 single document deletion.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected java.lang.String |
activityCode
|
protected java.lang.String |
activityDetails
|
protected java.lang.Long |
activityStart
|
protected java.lang.String |
documentURI
|
protected java.lang.Throwable |
exception
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
HttpPoster.DeleteThread(java.lang.String documentURI)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getActivityCode()
|
java.lang.String |
getActivityDetails()
|
java.lang.Long |
getActivityStart()
|
java.lang.Throwable |
getException()
|
void |
run()
|
| 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 |
|---|
protected java.lang.String documentURI
protected java.lang.Long activityStart
protected java.lang.String activityCode
protected java.lang.String activityDetails
protected java.lang.Throwable exception
| Constructor Detail |
|---|
public HttpPoster.DeleteThread(java.lang.String documentURI)
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic java.lang.Throwable getException()
public java.lang.Long getActivityStart()
public java.lang.String getActivityCode()
public java.lang.String getActivityDetails()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||