Interface ClusterResourceStatisticsProvider

All Known Implementing Classes:
FineGrainedTaskManagerTracker

public interface ClusterResourceStatisticsProvider
Provides statistics of cluster resources.
  • Method Details

    • getNumberRegisteredSlots

      int getNumberRegisteredSlots()
      Get total number of registered slots.
    • getNumberRegisteredSlotsOf

      int getNumberRegisteredSlotsOf(InstanceID instanceId)
      Get number of registered slots from the TaskManager with the given instance id.
    • getNumberFreeSlots

      int getNumberFreeSlots()
      Get total number of free slots.
    • getNumberFreeSlotsOf

      int getNumberFreeSlotsOf(InstanceID instanceId)
      Get number of free slots from the TaskManager with the given instance id.
    • getRegisteredResource

      ResourceProfile getRegisteredResource()
      Get profile of total registered resources.
    • getRegisteredResourceOf

      ResourceProfile getRegisteredResourceOf(InstanceID instanceId)
      Get profile of registered resources from the TaskManager with the given instance id.
    • getFreeResource

      ResourceProfile getFreeResource()
      Get profile of total free resources.
    • getFreeResourceOf

      ResourceProfile getFreeResourceOf(InstanceID instanceId)
      Get profile of free resources from the TaskManager with the given instance id.
    • getPendingResource

      ResourceProfile getPendingResource()
      Get profile of total pending resources.