public class RasNodes extends Object
Modifier and Type | Method and Description |
---|---|
void |
freeSlots(Collection<WorkerSlot> workerSlots)
Free everything on the given slots.
|
static Map<String,RasNode> |
getAllNodesFrom(Cluster cluster) |
RasNode |
getNodeById(String nodeId)
get node object from nodeId.
|
Collection<RasNode> |
getNodes() |
String |
toString() |
public RasNodes(Cluster cluster)
public void freeSlots(Collection<WorkerSlot> workerSlots)
Free everything on the given slots.
workerSlots
- the slots to freepublic Collection<RasNode> getNodes()
Copyright © 2022 The Apache Software Foundation. All rights reserved.