long standByTasksCost(final SortedSet<TaskId> standbyTasks,
                          final SortedMap<ProcessId, ClientState> clientStates,
                          final int trafficCost,
                          final int nonOverlapCost) {
        return tasksCost(standbyTasks, clientStates, trafficCost, nonOverlapCost, ClientState::hasStandbyTask, true, true);
    }
Compute the cost for the provided {@code standbyTasks}. The passed in standby tasks must be contained in {@code clientState}.
streams/src/main/java/org/apache/kafka/streams/processor/internals/assignment/RackAwareTaskAssignor.java