Package | Description |
---|---|
org.jppf.client |
Support for the clients connecting to the JPPF driver.
|
org.jppf.client.persistence |
Classes for an API that enables persistence of jobs and their state.
|
org.jppf.client.taskwrapper |
API used for JPPF-annotated tasks and POJO tasks.
|
org.jppf.node.policy |
Classes supporting the application of execution policy to task bundles and nodes.
|
Modifier and Type | Method and Description |
---|---|
Task<?> |
JPPFJob.add(Callable<?> callable)
Add a
Callable task to this job. |
Task<?> |
JPPFJob.add(Object taskObject,
Object... args)
Add a task to this job.
|
Task<?> |
JPPFJob.add(Runnable runnable)
Add a
Runnable task to this job. |
Task<?> |
JPPFJob.add(String method,
Object taskObject,
Object... args)
Add a POJO task to this job.
|
Task<?> |
JPPFJob.add(Task<?> task)
Add a
Task to this job. |
Modifier and Type | Class and Description |
---|---|
class |
JobPersistenceException
Exception thrown when an error occurs during a job persistence operation.
|
Constructor and Description |
---|
JPPFAnnotatedTask(Object taskObject,
Object... args)
Initialize this task with an object whose class is either annotated with
JPPFRunnable ,
an instance of Runnable or an instance of Callable . |
JPPFAnnotatedTask(Object taskObject,
String method,
Object... args)
Initialize this task from a POJO, given a method and its arguments to execute it.
|
Modifier and Type | Method and Description |
---|---|
static void |
PolicyParser.validatePolicy(File docPath)
Validate an XML document representing an execution policy against the
JPPF Execution Policy schema.
|
static void |
PolicyParser.validatePolicy(InputStream stream)
Validate an XML document representing an execution policy against the
JPPF Execution Policy schema.
|
static void |
PolicyParser.validatePolicy(Reader reader)
Validate an XML document representing an execution policy against the
JPPF Execution Policy schema.
|
static void |
PolicyParser.validatePolicy(String policyContent)
Validate an XML document representing an execution policy against the
JPPF Execution Policy schema.
|
static void |
PolicyParser.validatePolicyFile(String docPath)
Validate an XML document representing an execution policy against the
JPPF Execution Policy schema.
|
Copyright © 2005-2015 JPPF Team.