Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
Task(System parent,
TaskInfo taskinfo,
long timeout) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
void |
failed(String msg) |
System |
getParent() |
Process |
getProcess() |
TaskInfo |
getTaskinfo() |
long |
getTime() |
long |
getTimeout() |
void |
interrupt() |
boolean |
isDone() |
boolean |
isExecuted() |
void |
run() |
void |
setupProcess(Process process,
boolean ignore) |
void |
successPart1(String msg) |
void |
successPart2(boolean wait) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic void setupProcess(Process process, boolean ignore) throws IOException
IOExceptionpublic void successPart1(String msg)
public void successPart2(boolean wait)
throws InterruptedException
InterruptedExceptionpublic void failed(String msg) throws InterruptedException
InterruptedExceptionpublic System getParent()
public TaskInfo getTaskinfo()
public long getTime()
public long getTimeout()
public boolean isExecuted()
public boolean isDone()
public Process getProcess()
Copyright © 2018. All rights reserved.