storm-server/src/main/java/org/apache/storm/scheduler/resource/strategies/scheduling/sorter/NodeSorterHostProximity.java [139:151]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected Iterable<ObjectResourcesItem> sortObjectResources(
            ObjectResourcesSummary resourcesSummary, ExecutorDetails exec, ExistingScheduleFunc existingScheduleFunc) {
        switch (nodeSortType) {
            case DEFAULT_RAS:
                return sortObjectResourcesDefault(resourcesSummary, existingScheduleFunc);
            case GENERIC_RAS:
                return sortObjectResourcesGeneric(resourcesSummary, exec, existingScheduleFunc);
            case COMMON:
                return sortObjectResourcesCommon(resourcesSummary, exec, existingScheduleFunc);
            default:
                return null;
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



storm-server/src/main/java/org/apache/storm/scheduler/resource/strategies/scheduling/sorter/NodeSorter.java [130:142]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected List<ObjectResourcesItem> sortObjectResources(
            ObjectResourcesSummary resourcesSummary, ExecutorDetails exec, ExistingScheduleFunc existingScheduleFunc) {
        switch (nodeSortType) {
            case DEFAULT_RAS:
                return sortObjectResourcesDefault(resourcesSummary, existingScheduleFunc);
            case GENERIC_RAS:
                return sortObjectResourcesGeneric(resourcesSummary, exec, existingScheduleFunc);
            case COMMON:
                return sortObjectResourcesCommon(resourcesSummary, exec, existingScheduleFunc);
            default:
                return null;
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



