Uses of Class
org.jppf.node.protocol.JobSLA
Packages that use JobSLA
Package
Description
Support for job selectors and
job management in the server.
Classes supporting execution policies.
Support for job management mbeans in the server.
-
Uses of JobSLA in org.jppf.job
Methods in org.jppf.job that return JobSLAConstructors in org.jppf.job with parameters of type JobSLAModifierConstructorDescriptionJobTasksEvent(String jobUuid, String jobName, JobSLA jobSLA, JobMetadata jobMetadata, List<ServerTaskInformation> serverTasks, JobReturnReason returnReason, JPPFManagementInfo nodeInfo) Initialize this job dispatch event with the specified information. -
Uses of JobSLA in org.jppf.node.policy
Methods in org.jppf.node.policy that return JobSLAModifier and TypeMethodDescriptionPolicyContext.getSLA()Get the job server side SLA, set at runtime by the server.Methods in org.jppf.node.policy with parameters of type JobSLAModifier and TypeMethodDescriptionvoidExecutionPolicy.setContext(JobSLA sla, JobClientSLA clientSla, JobMetadata metadata, int jobDispatches, JPPFStatistics stats) Set the parameters used as bound variables in the script.Constructors in org.jppf.node.policy with parameters of type JobSLAModifierConstructorDescriptionPolicyContext(JobSLA sla, JobClientSLA clientSLA, JobMetadata metadata, int jobDispatches, JPPFStatistics stats) Initialize this policy context. -
Uses of JobSLA in org.jppf.node.protocol
Methods in org.jppf.node.protocol that return JobSLAModifier and TypeMethodDescriptionJobSLA.copy()Create a copy of this job SLA.AbstractNotificationBundle.getSLA()JPPFDistributedJob.getSLA()Get the service level agreement between the job and the server.JPPFTaskBundle.getSLA()JobSLA.setApplyMaxResubmitsUponNodeError(boolean applyMaxResubmitsUponNodeError) Specify whether the max resubmits limit for tasks should also be applied when tasks are resubmitted due to a node error.JobSLA.setBroadcastJob(boolean broadcastJob) Specify whether the job is a broadcast job.JobSLA.setCancelUponClientDisconnect(boolean cancelUponClientDisconnect) Specify whether the job should be canceled by the driver if the client gets disconnected.JobSLA.setClassPath(ClassPath classpath) Set the class path associated with the job.JobSLA.setDesiredNodeConfiguration(JPPFNodeConfigSpec nodeConfigurationSpec) Set the configuration of the node(s) this job should be executed on, forcing a restart of the node with appropriate configuration overrides if there is no such node.JobSLA.setDispatchExpirationSchedule(JPPFSchedule schedule) Set the expiration schedule for any subset of the job dispatched to a node.JobSLA.setGridExecutionPolicy(ExecutionPolicy policy) Set the global grid execution policy (which applies to the driver).JobSLA.setMaxDispatchExpirations(int max) Set the number of times a dispatched task can expire before it is finally cancelled.JobSLA.setMaxDriverDepth(int maxDriverDepth) Set how many drivers a job can traverse before being executed on a node.JobSLA.setMaxNodeProvisioningGroups(int maxNodeProvisioningGroups) Set the maximum number of groups of master/slaves nodes the job can be executed on at any given time.JobSLA.setMaxNodes(int maxNodes) Set the maximum number of nodes this job can run on.JobSLA.setMaxTaskResubmits(int maxResubmits) Set the naximum number of times a task can resubmit itself viaAbstractTask.setResubmit(boolean).JobSLA.setPriority(int priority) Set the priority of this job.JobSLA.setRemoteClassLoadingEnabled(boolean enabled) Specify whether remote class loading is enabled for the job.JobSLA.setResultsStrategy(String name) Set the strategy used to return the results back to the client.JobSLA.setSuspended(boolean suspended) Specify whether this job is initially suspended.Methods in org.jppf.node.protocol with parameters of type JobSLA -
Uses of JobSLA in org.jppf.server.job.management
Methods in org.jppf.server.job.management with parameters of type JobSLAModifier and TypeMethodDescriptionvoidDriverJobManagementMBean.updateJobs(JobSelector selector, JobSLA sla, JobMetadata metadata) Update the SLA and/or metadata of the specified jobs.