Package org.apache.spark.scheduler
Class TaskLocality
Object
org.apache.spark.scheduler.TaskLocality
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic scala.Enumeration.Value
ANY()
static final scala.Enumeration.Value
apply
(int x) static boolean
isAllowed
(scala.Enumeration.Value constraint, scala.Enumeration.Value condition) static final int
maxId()
static scala.Enumeration.Value
NO_PREF()
static scala.Enumeration.Value
static scala.Enumeration.Value
static scala.Enumeration.Value
static String
toString()
static scala.Enumeration.ValueSet
values()
static final scala.Enumeration.Value
-
Constructor Details
-
TaskLocality
public TaskLocality()
-
-
Method Details
-
PROCESS_LOCAL
public static scala.Enumeration.Value PROCESS_LOCAL() -
NODE_LOCAL
public static scala.Enumeration.Value NODE_LOCAL() -
NO_PREF
public static scala.Enumeration.Value NO_PREF() -
RACK_LOCAL
public static scala.Enumeration.Value RACK_LOCAL() -
ANY
public static scala.Enumeration.Value ANY() -
isAllowed
public static boolean isAllowed(scala.Enumeration.Value constraint, scala.Enumeration.Value condition) -
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
-