public class ObjectResourcesSummary extends Object
a class to contain individual object resources as well as cumulative stats.
Constructor and Description |
---|
ObjectResourcesSummary(List<ObjectResourcesItem> objectResources,
NormalizedResourceOffer availableResourcesOverall,
NormalizedResourceOffer totalResourcesOverall,
String identifier) |
ObjectResourcesSummary(ObjectResourcesSummary other) |
ObjectResourcesSummary(String identifier) |
Modifier and Type | Method and Description |
---|---|
void |
addObjectResourcesItem(ObjectResourcesItem item) |
NormalizedResourceOffer |
getAvailableResourcesOverall() |
List<ObjectResourcesItem> |
getObjectResources() |
NormalizedResourceOffer |
getTotalResourcesOverall() |
public ObjectResourcesSummary(String identifier)
public ObjectResourcesSummary(ObjectResourcesSummary other)
public ObjectResourcesSummary(List<ObjectResourcesItem> objectResources, NormalizedResourceOffer availableResourcesOverall, NormalizedResourceOffer totalResourcesOverall, String identifier)
public void addObjectResourcesItem(ObjectResourcesItem item)
public List<ObjectResourcesItem> getObjectResources()
public NormalizedResourceOffer getAvailableResourcesOverall()
public NormalizedResourceOffer getTotalResourcesOverall()
Copyright © 2022 The Apache Software Foundation. All rights reserved.