protected Object[] availableIDsArray() {
    return idsAvailable.toArray();
  }
Caller must hold the rwLock

@return the idsAvailable Set as an array
geode-core/src/main/java/org/apache/geode/internal/cache/ha/HARegionQueue.java