class ClientState {

    void unassignStandby(final TaskId task) {
        if (!standbyTasks.contains(task)) {
            throw new IllegalArgumentException("Tried to unassign standby task " + task + ", but it is not currently assigned: " + this);
        }
        standbyTasks.remove(task);
    }

    public  ClientState();
      ClientState(final int capacity);
    public  ClientState(final Set<TaskId> previousActiveTasks,
                       final Set<TaskId> previousStandbyTasks,
                       final Map<TaskId, Long> taskLagTotals,
                       final int capacity);

}