Package org.apache.storm.scheduler

## Class WorkerSlot

- java.lang.Object
- - org.apache.storm.scheduler.WorkerSlot

-     public class WorkerSlot
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `WorkerSlot​(String nodeId, Number port)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `equals​(Object o)` |
    `String` | `getId()` |
    `String` | `getNodeId()` |
    `int` | `getPort()` |
    `int` | `hashCode()` |
    `List<Object>` | `toList()` |
    `String` | `toString()` |

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

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

- - ### Constructor Detail

    - #### WorkerSlot

          public WorkerSlot​(String nodeId,
                            Number port)

  - ### Method Detail

    - #### getNodeId

          public String getNodeId()

    - #### getPort

          public int getPort()

    - #### getId

          public String getId()

    - #### toList

          public List<Object> toList()

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals​(Object o)

      Overrides:
        `equals` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`