public class WorkflowThread extends Thread
We run the workflow on a dedicated thread to be able to interrupt it when the JVM receives a SIGINT signal (CTRL + C).
CleanupThreadThread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
WorkflowThread(Workflow workflow) |
| Modifier and Type | Method and Description |
|---|---|
ExitStatus |
getExitStatus() |
void |
run() |
void |
setExitStatus(ExitStatus exitStatus) |
activeCount, 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, yieldpublic WorkflowThread(@NonNull
Workflow workflow)
public ExitStatus getExitStatus()
public void setExitStatus(ExitStatus exitStatus)
Copyright © 2017–2021 DataStax. All rights reserved.