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

# Interface INodeSorter

All Known Implementing Classes:
  `NodeSorter`, `NodeSorterHostProximity`

public interface INodeSorter

- ## Method Summary

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

- ## Method Details

  - ### 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()