Class ObjectResourcesSummary
java.lang.Object
org.apache.storm.scheduler.resource.strategies.scheduling.ObjectResourcesSummary
a class to contain individual object resources as well as cumulative stats.
-
Constructor Summary
ConstructorDescriptionObjectResourcesSummary
(String identifier) ObjectResourcesSummary
(List<ObjectResourcesItem> objectResources, NormalizedResourceOffer availableResourcesOverall, NormalizedResourceOffer totalResourcesOverall, String identifier) -
Method Summary
Modifier and TypeMethodDescriptionvoid
-
Constructor Details
-
ObjectResourcesSummary
-
ObjectResourcesSummary
-
ObjectResourcesSummary
public ObjectResourcesSummary(List<ObjectResourcesItem> objectResources, NormalizedResourceOffer availableResourcesOverall, NormalizedResourceOffer totalResourcesOverall, String identifier)
-
-
Method Details
-
addObjectResourcesItem
-
getObjectResources
-
getAvailableResourcesOverall
-
getTotalResourcesOverall
-