Package org.jobrunr.server.runner
Class AbstractBackgroundJobRunner
- java.lang.Object
-
- org.jobrunr.server.runner.AbstractBackgroundJobRunner
-
- All Implemented Interfaces:
BackgroundJobRunner
- Direct Known Subclasses:
BackgroundJobWithIocRunner
,BackgroundJobWithoutIocRunner
,BackgroundStaticJobWithoutIocRunner
public abstract class AbstractBackgroundJobRunner extends java.lang.Object implements BackgroundJobRunner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
AbstractBackgroundJobRunner.BackgroundJobWorker
-
Constructor Summary
Constructors Constructor Description AbstractBackgroundJobRunner()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract AbstractBackgroundJobRunner.BackgroundJobWorker
getBackgroundJobWorker(Job job)
void
run(Job job)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jobrunr.server.runner.BackgroundJobRunner
supports
-
-
-
-
Method Detail
-
getBackgroundJobWorker
protected abstract AbstractBackgroundJobRunner.BackgroundJobWorker getBackgroundJobWorker(Job job)
-
run
public void run(Job job) throws java.lang.Exception
- Specified by:
run
in interfaceBackgroundJobRunner
- Throws:
java.lang.Exception
-
-