org.apache.storm.scheduler.resource.strategies.scheduling.sorter

## Interface INodeSorter

- All Known Implementing Classes:
    NodeSorter, NodeSorterHostProximity

      public interface INodeSorter

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Iterable<ObjectResourcesItem>` | `getSortedRacks()`
    `void` | `prepare(ExecutorDetails exec)` Prepare for node sorting.
    `Iterable<String>` | `sortAllNodes()`

- - ### Method Detail

    - #### prepare

          void prepare(ExecutorDetails exec)

      Prepare for node sorting. This method must be called before `getSortedRacks()` and `sortAllNodes()`.

      Parameters:
        `exec` - optional, may be null.

    - #### getSortedRacks

          Iterable<ObjectResourcesItem> getSortedRacks()

    - #### sortAllNodes

          Iterable<String> sortAllNodes()

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