public interface ClusterResourceStatisticsProvider
Modifier and Type | Method and Description |
---|---|
ResourceProfile |
getFreeResource()
Get profile of total free resources.
|
ResourceProfile |
getFreeResourceOf(InstanceID instanceId)
Get profile of free resources from the TaskManager with the given instance id.
|
int |
getNumberFreeSlots()
Get total number of free slots.
|
int |
getNumberFreeSlotsOf(InstanceID instanceId)
Get number of free slots from the TaskManager with the given instance id.
|
int |
getNumberRegisteredSlots()
Get total number of registered slots.
|
int |
getNumberRegisteredSlotsOf(InstanceID instanceId)
Get number of registered slots from the TaskManager with the given instance id.
|
ResourceProfile |
getPendingResource()
Get profile of total pending resources.
|
ResourceProfile |
getRegisteredResource()
Get profile of total registered resources.
|
ResourceProfile |
getRegisteredResourceOf(InstanceID instanceId)
Get profile of registered resources from the TaskManager with the given instance id.
|
int getNumberRegisteredSlots()
int getNumberRegisteredSlotsOf(InstanceID instanceId)
int getNumberFreeSlots()
int getNumberFreeSlotsOf(InstanceID instanceId)
ResourceProfile getRegisteredResource()
ResourceProfile getRegisteredResourceOf(InstanceID instanceId)
ResourceProfile getFreeResource()
ResourceProfile getFreeResourceOf(InstanceID instanceId)
ResourceProfile getPendingResource()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.