public class ProcessingThread
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_THROWABLE
Maximum number of throwable allowed per component (processor/parser) before
considering it should be removed from repository configuration
|
static java.lang.String |
REVISION |
| Modifier and Type | Method and Description |
|---|---|
ProcessingData |
getLastProcessingData()
Retrieve the ProcessingData instance that processed during last
loop of this thread.
|
boolean |
isProcessingAlive()
Tell if the processing of files is alive (which is expected at all time after JCMS startup, even if FileProcessor is disabled, otherwise a complete restart is required).
|
boolean |
isProcessingRunning()
Tell if the processing of files is running (Otherwise, it is stopped, or waiting).
|
static void |
resetThrowableCounter()
Reset all throwable counters.
|
void |
run() |
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 static final java.lang.String REVISION
public static final int MAX_THROWABLE
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic boolean isProcessingAlive()
public boolean isProcessingRunning()
public ProcessingData getLastProcessingData()
public static void resetThrowableCounter()
Used during unit test in which processors voluntarly triggers failures but do not want to be excluded.
Copyright © 2001-2017 Jalios SA. All Rights Reserved.