public class ResourceDeclaration extends Object
ResourceAllocator
.Constructor and Description |
---|
ResourceDeclaration(WorkerResourceSpec spec,
int numNeeded,
Collection<InstanceID> unwantedWorkers) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getNumNeeded() |
WorkerResourceSpec |
getSpec() |
Collection<InstanceID> |
getUnwantedWorkers() |
int |
hashCode() |
String |
toString() |
public ResourceDeclaration(WorkerResourceSpec spec, int numNeeded, Collection<InstanceID> unwantedWorkers)
public WorkerResourceSpec getSpec()
public int getNumNeeded()
public Collection<InstanceID> getUnwantedWorkers()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.