void recordMemberDepartedTime(InternalDistributedMember owner) {
    // Already held batchLocks; hold membersDepartedTime lock just for clarity
    synchronized (membersDepartedTime) {
      long currentTime = getCurrentTime();
      for (Iterator iterator = membersDepartedTime.values().iterator(); iterator.hasNext();) {
        if ((long) iterator.next() < currentTime - departedMemberKeptInMapMilliSeconds) {
          iterator.remove();
        } else {
          break;
        }
      }
      membersDepartedTime.put(owner, currentTime);
    }
  }
Returns transaction optimized lock batches that were created by the specified owner.
<p>
Synchronizes on batchLocks.

@param owner member that owned the lock batches to return
@return lock batches that were created by owner
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockGrantor.java