| Package | Description |
|---|---|
| org.jppf.client | |
| org.jppf.client.event |
Support for connection pool events,
connection status notifications,
job lifecycle events
and job queue events in the JPPF client.
|
| org.jppf.client.persistence |
Support for job persistence on the client side.
|
| org.jppf.client.utils |
Support for job streaming.
|
| Modifier and Type | Method and Description |
|---|---|
JPPFJob |
JPPFJob.addDependencies(Collection<JPPFJob> dependencies)
Add the specified jobs as dependencies to this job.
|
JPPFJob |
JPPFJob.addDependencies(JPPFJob... dependencies)
Add the specified jobs as dependencies to this job.
|
JPPFJob |
JPPFDriverJobPersistence.retrieveJob(String uuid)
Retieve and rebuild the persisted job with the specified uuid.
|
JPPFJob |
JPPFJob.setCascadeCancellation(boolean cascadeCancellation)
Set whether cancellation of this job should trigger the cancellation of the jobs that depend on it.
|
JPPFJob |
JPPFJob.setDependencyId(JobDependencyIdSupplier idSupplier)
Set this job's dependency id from a dependency id supplier.
|
JPPFJob |
JPPFJob.setDependencyId(String id)
Set this job's dependency id.
|
JPPFJob |
JPPFJob.setDependencyId(Supplier<String> idSupplier)
Set this job's dependency id from the specified id supplier.
|
JPPFJob |
JPPFJob.setGraphRoot(boolean graphRoot)
Set whether this job is a root in a job dependency graph.
|
JPPFJob |
JPPFJob.setNameAsDependencyId()
Convenience method to set this job's name as dpeendency id.
|
<T> JPPFJob |
JPPFJob.setPersistenceManager(JobPersistence<T> persistenceManager)
Set the persistence manager that enables saving and restoring the state of this job.
|
JPPFJob |
JPPFJob.setUuidAsDependencyId()
Convenience method to set this job's uuid as dependency id.
|
JPPFJob |
JPPFClient.submitAsync(JPPFJob job)
Submit the specified job asynchronously for execution, without waiting for the job to complete.
|
| Modifier and Type | Method and Description |
|---|---|
List<JPPFJob> |
JPPFClient.getQueuedJobs()
Get the list of currently queued jobs.
|
List<JPPFJob> |
JPPFClient.getQueuedJobs(org.jppf.job.JobSelector selector)
Get a list of currently queued jobs, filtered by a
JobSelector. |
| Modifier and Type | Method and Description |
|---|---|
JPPFJob |
JPPFJob.addDependencies(JPPFJob... dependencies)
Add the specified jobs as dependencies to this job.
|
String |
JobDependencyIdSupplier.getId(JPPFJob job)
Compute a dependency id from the supplied job.
|
List<org.jppf.node.protocol.Task<?>> |
JPPFClient.submit(JPPFJob job)
Submit the specified job for execution and wait for its completion.
|
JPPFJob |
JPPFClient.submitAsync(JPPFJob job)
Submit the specified job asynchronously for execution, without waiting for the job to complete.
|
List<org.jppf.node.protocol.Task<?>> |
JPPFClient.submitJob(JPPFJob job)
Deprecated.
a job should be submittable either synchronously or asynchronously, regardless of its state.
The way it is submitted is the user's choice at the time of submission, using one of
JPPFClient.submit(JPPFJob) or JPPFClient.submitAsync(JPPFJob). |
| Modifier and Type | Method and Description |
|---|---|
JPPFJob |
JPPFJob.addDependencies(Collection<JPPFJob> dependencies)
Add the specified jobs as dependencies to this job.
|
| Modifier and Type | Method and Description |
|---|---|
JPPFJob |
JobEvent.getJob()
Get the source of this event.
|
JPPFJob |
ClientQueueEvent.getJob()
Get the job that was added or removed.
|
| Modifier and Type | Method and Description |
|---|---|
List<JPPFJob> |
ClientQueueEvent.getQueuedJobs()
Get all the
JPPFJobs currently in the queue. |
| Constructor and Description |
|---|
ClientQueueEvent(JPPFClient client,
JPPFJob job,
JPPFPriorityQueue queue)
Initialize this event with the specified source JPPF client and Job.
|
| Modifier and Type | Method and Description |
|---|---|
JPPFJob |
JobPersistence.loadJob(K key)
Load a job from the persistence store given its key.
|
JPPFJob |
DefaultFilePersistenceManager.loadJob(String key) |
| Modifier and Type | Method and Description |
|---|---|
K |
JobPersistence.computeKey(JPPFJob job)
Compute the key for the specified job.
|
String |
DefaultFilePersistenceManager.computeKey(JPPFJob job)
Compute the key assigned ot the specified job.
|
void |
JobPersistence.storeJob(K key,
JPPFJob job,
List<org.jppf.node.protocol.Task<?>> tasks)
Store the specified tasks of the specified job with the specified key.
|
void |
DefaultFilePersistenceManager.storeJob(String key,
JPPFJob job,
List<org.jppf.node.protocol.Task<?>> tasks)
Store the specified job.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract JPPFJob |
AbstractJPPFJobStream.createNextJob()
Create the next job in the stream, along with its tasks.
|
JPPFJob |
AbstractJPPFJobStream.next()
Get the next job in the stream.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<JPPFJob> |
AbstractJPPFJobStream.iterator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
AbstractJPPFJobStream.processResults(JPPFJob job)
Callback invoked when a job is complete.
|
Copyright © 2005-2019 JPPF Team.