Uses of Class
org.apache.storm.generated.WorkerResources
Package
Description
-
Uses of WorkerResources in org.apache.storm.generated
Modifier and TypeMethodDescriptionint
WorkerResources.compareTo
(WorkerResources other) boolean
WorkerResources.equals
(WorkerResources that) void
Assignment.put_to_worker_resources
(NodeInfo key, WorkerResources val) void
LocalAssignment.set_resources
(WorkerResources resources) Modifier and TypeMethodDescriptionvoid
Assignment.set_worker_resources
(Map<NodeInfo, WorkerResources> worker_resources) ModifierConstructorDescriptionWorkerResources
(WorkerResources other) Performs a deep copy on other. -
Uses of WorkerResources in org.apache.storm.scheduler
Modifier and TypeMethodDescriptionCluster.getWorkerResources
(WorkerSlot ws) ISchedulingState.getWorkerResources
(WorkerSlot ws) Get the resources for a given slot.Modifier and TypeMethodDescriptionSchedulerAssignment.getScheduledResources()
Get the slot to resource mapping.SchedulerAssignmentImpl.getScheduledResources()
Cluster.getWorkerResourcesMap()
ISchedulingState.getWorkerResourcesMap()
Gets the reference to the full topology->worker resource map.Modifier and TypeMethodDescriptionSupervisorResources.add
(WorkerResources wr) void
SchedulerAssignmentImpl.assign
(WorkerSlot slot, Collection<ExecutorDetails> executors, WorkerResources slotResources) Assign the slot to executors. -
Uses of WorkerResources in org.apache.storm.scheduler.resource.normalization
Modifier and TypeMethodDescriptionvoid
NormalizedResourceRequest.add
(WorkerResources value) Add the resources from a worker to those in this.void
NormalizedResources.add
(WorkerResources value) Add the resources from a worker to this.boolean
NormalizedResourceOffer.remove
(WorkerResources other, ResourceMetrics resourceMetrics) Remove the resources in other from this.boolean
NormalizedResources.remove
(WorkerResources value) Remove the resources of a worker from this.