Class SchedulingResult
java.lang.Object
org.apache.storm.scheduler.resource.SchedulingResult
This class serves as a mechanism to return results and messages from a scheduling strategy to the Resource Aware
Scheduler.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SchedulingResult
failure
(SchedulingStatus status, String errorMessage) boolean
boolean
static SchedulingResult
success()
static SchedulingResult
toString()