Package org.apache.spark.scheduler
Interface Schedulable
public interface Schedulable
An interface for schedulable entities.
 there are two type of Schedulable entities(Pools and TaskSetManagers)
- 
Method Summary
Modifier and TypeMethodDescriptionvoidaddSchedulable(Schedulable schedulable) booleancheckSpeculatableTasks(long minTimeToSpeculation) voidexecutorDecommission(String executorId) voidexecutorLost(String executorId, String host, org.apache.spark.scheduler.ExecutorLossReason reason) getSchedulableByName(String name) scala.collection.mutable.ArrayBuffer<org.apache.spark.scheduler.TaskSetManager>booleanintminShare()name()org.apache.spark.scheduler.Poolparent()intpriority()voidremoveSchedulable(Schedulable schedulable) intscala.Enumeration.ValueintstageId()intweight() 
- 
Method Details
- 
addSchedulable
 - 
checkSpeculatableTasks
boolean checkSpeculatableTasks(long minTimeToSpeculation)  - 
executorDecommission
 - 
executorLost
 - 
getSchedulableByName
 - 
getSortedTaskSetQueue
scala.collection.mutable.ArrayBuffer<org.apache.spark.scheduler.TaskSetManager> getSortedTaskSetQueue() - 
isSchedulable
boolean isSchedulable() - 
name
String name() - 
parent
org.apache.spark.scheduler.Pool parent() - 
priority
int priority() - 
removeSchedulable
 - 
runningTasks
int runningTasks() - 
schedulableQueue
ConcurrentLinkedQueue<Schedulable> schedulableQueue() - 
schedulingMode
scala.Enumeration.Value schedulingMode() - 
stageId
int stageId() - 
weight
int weight() 
 -