Class RunnableJobAdapter
java.lang.Object
com.northconcepts.datapipeline.job.AbstractJob
com.northconcepts.datapipeline.job.RunnableJobAdapter
Runs a
Runnable as an AbstractJob; pausing has no effect and cancelling only interrupts its thread.-
Field Summary
Fields inherited from class com.northconcepts.datapipeline.job.AbstractJob
jobs, threadLocal -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidrunImpl()Performs this job's work on the run thread; callAbstractJob.handlePause()andAbstractJob.handleCancel()regularly so pause and cancel requests take effect.Methods inherited from class com.northconcepts.datapipeline.job.AbstractJob
cancel, clone, getAll, getCancelledOn, getChild, getCreatedOn, getCurrent, getException, getFinishedOn, getLogWriter, getName, getParent, getPausedOn, getRunningTime, getRunningTimeAsString, getRunningTimeAsString, getRunThread, getStartedOn, getUuid, handleCancel, handlePause, isAutoCloseLogWriter, isCancelled, isCancelled, isFailed, isFinished, isPaused, isRunning, log, onFailure, onFinish, onPause, onResume, onStart, onSuccess, pause, resume, run, runAsync, setAutoCloseLogWriter, setLogWriter, setName, toDebugString, waitUntilFinished, waitUntilFinished, waitUntilStarted, waitUntilStarted
-
Constructor Details
-
RunnableJobAdapter
-
-
Method Details
-
getRunnable
-
runImpl
protected void runImpl()Description copied from class:AbstractJobPerforms this job's work on the run thread; callAbstractJob.handlePause()andAbstractJob.handleCancel()regularly so pause and cancel requests take effect.- Specified by:
runImplin classAbstractJob
-