public interface JobConfiguration
JPPFExecutorService..
These properties include:
SLAmetadatapersistence manager| Modifier and Type | Method and Description |
|---|---|
JobConfiguration |
addJobListener(JobListener listener)
Add a listener to the list of job listeners.
|
List<JobListener> |
getAllJobListeners()
Get all the job listeners added to this job configuration.
|
List<ClassLoader> |
getClassLoaders()
Get all the class loaders added to this job configuration.
|
org.jppf.node.protocol.JobClientSLA |
getClientSLA()
Get the service level agreement between the job and the client.
|
org.jppf.node.protocol.DataProvider |
getDataProvider()
Get the job's data provider.
|
org.jppf.node.protocol.JobMetadata |
getMetadata()
Get the user-defined metadata associated with this job.
|
<T> JobPersistence<T> |
getPersistenceManager()
Get the persistence manager that enables saving and restoring the state of this job.
|
org.jppf.node.protocol.JobSLA |
getSLA()
Get the service level agreement between the job and the server.
|
JobConfiguration |
removeJobListener(JobListener listener)
Remove a listener from the list of job listeners.
|
JobConfiguration |
setDataProvider(org.jppf.node.protocol.DataProvider dataProvider)
Set the job's data provider.
|
<T> JobConfiguration |
setPersistenceManager(JobPersistence<T> persistenceManager)
Set the persistence manager that enables saving and restoring the state of this job.
|
org.jppf.node.protocol.JobSLA getSLA()
JobSLA.org.jppf.node.protocol.JobClientSLA getClientSLA()
JobClientSLA.org.jppf.node.protocol.JobMetadata getMetadata()
JobMetadata instance.<T> JobPersistence<T> getPersistenceManager()
T - the type of the keys used by the persistence manager.JobPersistence instance.<T> JobConfiguration setPersistenceManager(JobPersistence<T> persistenceManager)
T - the type of the keys used by the persistence manager.persistenceManager - a JobPersistence instance.org.jppf.node.protocol.DataProvider getDataProvider()
DataProvider instance.JobConfiguration setDataProvider(org.jppf.node.protocol.DataProvider dataProvider)
dataProvider - a DataProvider instance.JobConfiguration addJobListener(JobListener listener)
listener - a JobListener instance.JobConfiguration removeJobListener(JobListener listener)
listener - a JobListener instance.List<JobListener> getAllJobListeners()
JobListener instances.List<ClassLoader> getClassLoaders()
ClassLoader instances.Copyright © 2005-2019 JPPF Team.