List<EventID> getGIIEvents() {
    List<EventID> events = new LinkedList<>();
    for (long i = positionBeforeGII; i < positionAfterGII + 1; i++) {
      Map.Entry<?, ?> entry = region.getEntry(i);
      // could be already removed after processing QueueRemovalMessage
      if (entry != null && entry.getValue() instanceof HAEventWrapper) {
        HAEventWrapper wrapper = (HAEventWrapper) entry.getValue();
        events.add(wrapper.getEventId());
      }
    }
    return events;
  }
expiry time for ThreadIdentifiers. In seconds.
geode-core/src/main/java/org/apache/geode/internal/cache/ha/HARegionQueue.java