org.apache.storm.scheduler.resource

## Class RAS_Nodes

- java.lang.Object
- - org.apache.storm.scheduler.resource.RAS_Nodes

-     public class RAS_Nodes
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RAS_Nodes(Cluster cluster)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `freeSlots(Collection<WorkerSlot> workerSlots)` Free everything on the given slots.
    `static Map<String,RAS_Node>` | `getAllNodesFrom(Cluster cluster)`
    `RAS_Node` | `getNodeById(String nodeId)` get node object from nodeId.
    `Collection<RAS_Node>` | `getNodes()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### RAS_Nodes

          public RAS_Nodes(Cluster cluster)

  - ### Method Detail

    - #### getAllNodesFrom

          public static Map<String,RAS_Node> getAllNodesFrom(Cluster cluster)

    - #### getNodeById

          public RAS_Node getNodeById(String nodeId)

      get node object from nodeId.

    - #### freeSlots

          public void freeSlots(Collection<WorkerSlot> workerSlots)

      Free everything on the given slots.

      Parameters:
        `workerSlots` - the slots to free

    - #### getNodes

          public Collection<RAS_Node> getNodes()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2019 The Apache Software Foundation. All rights reserved.