org.apache.spark.scheduler
Class TaskLocality

Object
  extended by scala.Enumeration
      extended by org.apache.spark.scheduler.TaskLocality
All Implemented Interfaces:
java.io.Serializable

public class TaskLocality
extends scala.Enumeration

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class scala.Enumeration
scala.Enumeration.Val, scala.Enumeration.Value, scala.Enumeration.ValueOrdering$, scala.Enumeration.ValueSet, scala.Enumeration.ValueSet$
 
Field Summary
 
Fields inherited from class scala.Enumeration
serialVersionUID
 
Constructor Summary
TaskLocality()
           
 
Method Summary
static scala.Enumeration.Value ANY()
           
static boolean isAllowed(scala.Enumeration.Value constraint, scala.Enumeration.Value condition)
           
static scala.Enumeration.Value NO_PREF()
           
static scala.Enumeration.Value NODE_LOCAL()
           
static scala.Enumeration.Value PROCESS_LOCAL()
           
static scala.Enumeration.Value RACK_LOCAL()
           
 
Methods inherited from class scala.Enumeration
apply, maxId, nextId_$eq, nextId, nextName_$eq, nextName, readResolve, scala$Enumeration$$bottomId_$eq, scala$Enumeration$$bottomId, scala$Enumeration$$isValDef$1, scala$Enumeration$$nameOf, scala$Enumeration$$nextNameOrNull, scala$Enumeration$$nmap, scala$Enumeration$$populateNameMap, scala$Enumeration$$topId_$eq, scala$Enumeration$$topId, scala$Enumeration$$vmap, scala$Enumeration$$vsetDefined_$eq, toString, Value, Value, Value, Value, ValueOrdering, values, ValueSet, withName
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskLocality

public TaskLocality()
Method Detail

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)