Package com.axemble.vdoc.sdk.interfaces
Interface IAsyncJobQueue
public interface IAsyncJobQueue
-
Method Summary
Modifier and TypeMethodDescription<T extends IAsyncJobCallable<U>,
U>
TGet a Job<T extends IAsyncJobCallable<U>,
U>
voidRun a job
-
Method Details
-
getJob
<T extends IAsyncJobCallable<U>,U> T getJob(String jobReference, Class<T> jobType) throws AsyncJobQueueException Get a Job- Parameters:
jobReference
- the job reference- Returns:
- the Job instance
- Throws:
AsyncJobQueueException
-
runJob
<T extends IAsyncJobCallable<U>,U> void runJob(String jobReference, T job) throws AsyncJobQueueException Run a job- Parameters:
jobReference
- the job referencejob
- the job to run- Throws:
AsyncJobQueueException
-