Package PamUtils
Class DetectionMatchWorker
java.lang.Object
java.lang.Thread
PamUtils.DetectionMatchWorker
- All Implemented Interfaces:
Runnable
This is intended to be overridden by any class which wants to monitor the progress of a detection match.
- Author:
- Jamie Macaulay
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.BuilderPREVIEW, Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel
(boolean cancel) int
boolean
boolean
isDone()
void
setDone
(boolean done) void
setMatchProgress
(int prog) Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Constructor Details
-
DetectionMatchWorker
public DetectionMatchWorker()
-
-
Method Details
-
setMatchProgress
public void setMatchProgress(int prog) -
getMatchProgress
public int getMatchProgress() -
cancel
public void cancel(boolean cancel) -
isCancelled
public boolean isCancelled() -
isDone
public boolean isDone() -
setDone
public void setDone(boolean done)
-