Uses of Class
org.apache.storm.scheduler.resource.SchedulingResult
-
Packages that use SchedulingResult Package Description org.apache.storm.scheduler.resource org.apache.storm.scheduler.resource.strategies.scheduling -
-
Uses of SchedulingResult in org.apache.storm.scheduler.resource
Methods in org.apache.storm.scheduler.resource that return SchedulingResult Modifier and Type Method Description static SchedulingResult
SchedulingResult. failure(SchedulingStatus status, String errorMessage)
static SchedulingResult
SchedulingResult. success()
static SchedulingResult
SchedulingResult. success(String message)
-
Uses of SchedulingResult in org.apache.storm.scheduler.resource.strategies.scheduling
Methods in org.apache.storm.scheduler.resource.strategies.scheduling that return SchedulingResult Modifier and Type Method Description protected SchedulingResult
BaseResourceAwareStrategy. checkSchedulingFeasibility()
Check scheduling feasibility for a quick failure as the second step inBaseResourceAwareStrategy.schedule(Cluster, TopologyDetails)
.protected SchedulingResult
ConstraintSolverStrategy. checkSchedulingFeasibility()
SchedulingResult
SchedulingSearcherState. createSchedulingResult(boolean success, String schedulerClassSimpleName)
SchedulingResult
BaseResourceAwareStrategy. schedule(Cluster cluster, TopologyDetails td)
Note that this method is not thread-safe.SchedulingResult
IStrategy. schedule(Cluster schedulingState, TopologyDetails td)
This method is invoked to calculate a scheduling for topology td.protected SchedulingResult
BaseResourceAwareStrategy. scheduleExecutorsOnNodes(List<ExecutorDetails> orderedExecutors, Iterable<String> sortedNodesIter)
Try to schedule till successful or till limits (backtrack count or time) have been exceeded.protected SchedulingResult
RoundRobinResourceAwareStrategy. scheduleExecutorsOnNodes(List<ExecutorDetails> orderedExecutors, Iterable<String> sortedNodesIterable)
For each component try to schedule executors in sequence on the nodes.
-