class ClientState {

    boolean reachedCapacity() {
        return assignedTasks.size() >= capacity;
    }

    public  ClientState();
      ClientState(final int capacity);
    private  ClientState(Set<TaskId> activeTasks, Set<TaskId> standbyTasks, Set<TaskId> assignedTasks, Set<TaskId> prevActiveTasks, Set<TaskId> prevAssignedTasks, int capacity);

}