Uses of Class
org.apache.storm.scheduler.resource.normalization.NormalizedResourceOffer
Package
Description
-
Uses of NormalizedResourceOffer in org.apache.storm.scheduler
Modifier and TypeMethodDescriptionCluster.getAvailableResources
(SupervisorDetails sd) ISchedulingState.getAvailableResources
(SupervisorDetails sd) Get the resources on the supervisor that are available to be scheduled.Cluster.getNonBlacklistedClusterAvailableResources
(Collection<String> blacklistedSupervisorIds) ISchedulingState.getNonBlacklistedClusterAvailableResources
(Collection<String> blacklistedSupervisorIds) Get the resources in the cluster that are available for scheduling.SupervisorDetails.getTotalResources()
Get all resources for this Supervisor.Modifier and TypeMethodDescriptionboolean
Cluster.wouldFit
(WorkerSlot ws, ExecutorDetails exec, TopologyDetails td, NormalizedResourceOffer resourcesAvailable, double maxHeap) boolean
ISchedulingState.wouldFit
(WorkerSlot ws, ExecutorDetails exec, TopologyDetails td, NormalizedResourceOffer resourcesAvailable, double maxHeap) Would scheduling exec on ws fit? -
Uses of NormalizedResourceOffer in org.apache.storm.scheduler.resource
Modifier and TypeMethodDescriptionRasNode.getTotalAvailableResources()
Gets all available resources for this node.RasNode.getTotalResources()
Gets total resources for this node. -
Uses of NormalizedResourceOffer in org.apache.storm.scheduler.resource.normalization
Modifier and TypeMethodDescriptiondouble
NormalizedResourceOffer.calculateAveragePercentageUsedBy
(NormalizedResourceOffer used) Calculate the average percentage used.double
NormalizedResourceOffer.calculateMinPercentageUsedBy
(NormalizedResourceOffer used) Calculate the min percentage used of the resource.ModifierConstructorDescriptionCopy Constructor. -
Uses of NormalizedResourceOffer in org.apache.storm.scheduler.resource.strategies.scheduling
Modifier and TypeFieldDescriptionObjectResourcesItem.availableResources
ObjectResourcesItem.totalResources
Modifier and TypeMethodDescriptionObjectResourcesSummary.getAvailableResourcesOverall()
ObjectResourcesSummary.getTotalResourcesOverall()
ModifierConstructorDescriptionObjectResourcesItem
(String id, NormalizedResourceOffer availableResources, NormalizedResourceOffer totalResources, double minResourcePercent, double avgResourcePercent) ObjectResourcesSummary
(List<ObjectResourcesItem> objectResources, NormalizedResourceOffer availableResourcesOverall, NormalizedResourceOffer totalResourcesOverall, String identifier)