private void addAvailableKey(K key) {
        availableKeys.add(key);
        condition.signal();
    }
Adds the key to the available keys set.

This method must be called while holding the lock.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/runtime/EventAccumulator.java