Package org.apache.spark.scheduler
Class SchedulingMode
Object
org.apache.spark.scheduler.SchedulingMode
"FAIR" and "FIFO" determines which policy is used
to order tasks amongst a Schedulable's sub-queues
"NONE" is used when the a Schedulable has no sub-queues.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final scala.Enumeration.Valueapply(int x) static scala.Enumeration.ValueFAIR()static scala.Enumeration.ValueFIFO()static final intmaxId()static scala.Enumeration.ValueNONE()static StringtoString()static scala.Enumeration.ValueSetvalues()static final scala.Enumeration.Value
-
Constructor Details
-
SchedulingMode
public SchedulingMode()
-
-
Method Details
-
FAIR
public static scala.Enumeration.Value FAIR() -
FIFO
public static scala.Enumeration.Value FIFO() -
NONE
public static scala.Enumeration.Value NONE() -
toString
-
values
public static scala.Enumeration.ValueSet values() -
maxId
public static final int maxId() -
apply
public static final scala.Enumeration.Value apply(int x) -
withName
-