Class ResourceDeclaration
- java.lang.Object
-
- org.apache.flink.runtime.resourcemanager.slotmanager.ResourceDeclaration
-
public class ResourceDeclaration extends Object
ResourceDeclaration forResourceAllocator.
-
-
Constructor Summary
Constructors Constructor Description ResourceDeclaration(WorkerResourceSpec spec, int numNeeded, Collection<InstanceID> unwantedWorkers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetNumNeeded()WorkerResourceSpecgetSpec()Collection<InstanceID>getUnwantedWorkers()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
ResourceDeclaration
public ResourceDeclaration(WorkerResourceSpec spec, int numNeeded, Collection<InstanceID> unwantedWorkers)
-
-
Method Detail
-
getSpec
public WorkerResourceSpec getSpec()
-
getNumNeeded
public int getNumNeeded()
-
getUnwantedWorkers
public Collection<InstanceID> getUnwantedWorkers()
-
-