public interface JobSLA extends JobCommonSLA
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxNodes()
Get the maximum number of nodes this job can run on.
|
int |
getPriority()
Get the priority of this job.
|
String |
getResultsStrategy()
Get the strategy used to return the results back to the client.
|
boolean |
isBroadcastJob()
Determine whether the job is a broadcast job.
|
boolean |
isCancelUponClientDisconnect()
Determine whether the job should be canceled by the driver if the client gets disconnected.
|
boolean |
isSuspended()
Determine whether this job is initially suspended.
|
void |
setBroadcastJob(boolean broadcastJob)
Specify whether the job is a broadcast job.
|
void |
setCancelUponClientDisconnect(boolean cancelUponClientDisconnect)
Specify whether the job should be canceled by the driver if the client gets disconnected.
|
void |
setMaxNodes(int maxNodes)
Set the maximum number of nodes this job can run on.
|
void |
setPriority(int priority)
Set the priority of this job.
|
void |
setResultsStrategy(String name)
Set the strategy used to return the results back to the client.
|
void |
setSuspended(boolean suspended)
Specify whether this job is initially suspended.
|
getExecutionPolicy, getJobExpirationSchedule, getJobSchedule, setExecutionPolicy, setJobExpirationSchedule, setJobScheduleint getPriority()
void setPriority(int priority)
priority - the priority as an int.int getMaxNodes()
void setMaxNodes(int maxNodes)
maxNodes - the number of nodes as an int value. A value <= 0 means no limit on the number of nodes.boolean isSuspended()
void setSuspended(boolean suspended)
suspended - true if the job is suspended, false otherwise.boolean isBroadcastJob()
void setBroadcastJob(boolean broadcastJob)
broadcastJob - true for a broadcast job, false otherwise.boolean isCancelUponClientDisconnect()
true if the job should be canceled (this is the default), false otherwise.void setCancelUponClientDisconnect(boolean cancelUponClientDisconnect)
cancelUponClientDisconnect - true if the job should be canceled, false otherwise.String getResultsStrategy()
void setResultsStrategy(String name)
name - the name of the strategy to use.Copyright © 2005-2012 JPPF Team.