public void release(int id) {
    if (id < 0) {
      throw new IllegalArgumentException(
          String.format("negative id: %s", id));
    } else if (id > MAX_ID) {
      throw new IllegalArgumentException(
          String.format("id > MAX_ID: %s", id));
    }
    synchronized (this) {
      clearBit(id);
    }
  }
Release a previously obtained id allowing it to be obtained in the future.
geode-core/src/main/java/org/apache/geode/internal/UniqueIdGenerator.java