Class SlotReport
java.lang.Object
org.apache.flink.runtime.taskexecutor.SlotReport
- All Implemented Interfaces:
Serializable,Iterable<SlotStatus>
A report about the current status of all slots of the TaskExecutor, describing which slots are
available and allocated, and what jobs (JobManagers) the allocated slots have been allocated to.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSlotReport(Collection<SlotStatus> slotsStatus) SlotReport(SlotStatus slotStatus) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
SlotReport
public SlotReport() -
SlotReport
-
SlotReport
-
-
Method Details
-
getNumSlotStatus
public int getNumSlotStatus() -
hasAllocatedSlot
public boolean hasAllocatedSlot() -
iterator
- Specified by:
iteratorin interfaceIterable<SlotStatus>
-
toString
-