Package com.uc4.api
Class TrafficLight
java.lang.Object
com.uc4.api.TrafficLight
This class represents the traffic light information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of aborted tasks.int
Returns the number of blocked tasks.int
Return the number of running tasks.int
Returns the number of waiting tasks.
-
Constructor Details
-
TrafficLight
Internal use only.- Parameters:
row
- Row
-
-
Method Details
-
getAbortCount
public int getAbortCount()Returns the number of aborted tasks.- Returns:
- number of aborted tasks
-
getBlockCount
public int getBlockCount()Returns the number of blocked tasks.- Returns:
- number of block tasks
-
getRunningCount
public int getRunningCount()Return the number of running tasks.- Returns:
- number of running tasks
-
getWaitingCount
public int getWaitingCount()Returns the number of waiting tasks.- Returns:
- number of running tasks
-