Class CallableJob<T extends InputFromManager,S>

Object
CallableJob<T,S>
Type Parameters:
T - input-object type
S - shared-object bean
All Implemented Interfaces:
Callable<Optional<JobExecutionException>>

public class CallableJob<T extends InputFromManager,S> extends Object implements Callable<Optional<JobExecutionException>>
A job derived from a Task that can be placed on different threads
Author:
Owen Feehan
  • Constructor Details

    • CallableJob

      public CallableJob(Task<T,S> task, ParametersUnbound<T,S> parametersUnbound, BeanInstanceMap defaultInstances, JobStateMonitor stateMonitor, JobDescription jobDescription, JobStartStopLogger logger)
      Creates a new CallableJob instance.
      Parameters:
      task - The task that will be executed.
      parametersUnbound - Parameters for the task, that have yet to be bound to a job.
      defaultInstances - The default bean instances, as needed for checking configuration.
      stateMonitor - Monitors the state of a job.
      jobDescription - A unique description of the job.
      logger - Prints messages to a logger when jobs start and stop.
  • Method Details