protected class AsynchronousCcdDriver.ExposureThread extends ExitThread
AsynchronousCcdDriver.isExposing() returns
false. Before exiting, all waiters are notified.Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
private long |
cycle
The wait time for exposure finished queries.
|
private AbstractCcdDriver.Exposure |
how
The flag to the method to call.
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier | Constructor and Description |
|---|---|
protected |
ExposureThread(AbstractCcdDriver.Exposure flag,
long querycycle)
Constructs a new exposure thread without starting it.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
runner()
Does the expoure by calling the appropriate outer class method.
|
getEnterTime, getError, getExecutionTime, getExitTime, run, wasSuccessactiveCount, checkAccess, clone, 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, yieldprivate final AbstractCcdDriver.Exposure how
private final long cycle
protected ExposureThread(AbstractCcdDriver.Exposure flag, long querycycle)
flag - Either #EXPOSURE or #DARKEXPOSUREprotected boolean runner()
throws Exception
IOException happens during the exposure, the thread is
interrupted.runner in class ExitThreadException