Package org.jppf.client.concurrent
Interface ExecutorServiceConfiguration
public interface ExecutorServiceConfiguration
Interface for the configuration properties of a
JPPFExecutorService.
Instances of this interface hold the properties to associate to each job submitted by
the executor service, along with te properties to associate with each individual task.
This configuration interface represents a way to provide JPPF-specific properties without
explicitly breaking the semantics of the ExecutorService interface.- Author:
- Laurent Cohen
-
Method Summary
Modifier and TypeMethodDescriptionGet the configuration to use for the jobs submitted by the executor service.Get the configuration to use for the tasks submitted by the executor service.
-
Method Details
-
getJobConfiguration
JobConfiguration getJobConfiguration()Get the configuration to use for the jobs submitted by the executor service.- Returns:
- a
JobConfigurationinstance.
-
getTaskConfiguration
TaskConfiguration getTaskConfiguration()Get the configuration to use for the tasks submitted by the executor service.- Returns:
- a
TaskConfigurationinstance.
-