boolean removeDispatchedEvents(InternalDistributedMember primary, InternalCache cache,
      List<EventID> chunkEvents) {
    List<EventID> dispatchedEvents = getDispatchedEventsFromPrimary(primary, cache, chunkEvents);

    if (dispatchedEvents == null) {
      // failed to get events from current primary, need to retry.
      return false;
    }

    for (EventID id : dispatchedEvents) {
      if (!removeDispatchedEventAfterSyncWithPrimary(id)) {
        // failed to remove all dispatched events, need to retry
        return false;
      }
    }
    return true;
  }
expiry time for ThreadIdentifiers. In seconds.
geode-core/src/main/java/org/apache/geode/internal/cache/ha/HARegionQueue.java