public boolean isNewerThan(LockGrantorId otherLockGrantorId) {
    if (otherLockGrantorId == null) {
      return true;
    }
    boolean isNewer = lockGrantorVersion > otherLockGrantorId.getLockGrantorVersion();
    if (!isNewer && lockGrantorMember.equals(otherLockGrantorId.getLockGrantorMember())) {
      int otherGrantorSerialNumber = otherLockGrantorId.getLockGrantorSerialNumber();
      boolean serialRolled =
          lockGrantorSerialNumber > ROLLOVER_MARGIN && otherGrantorSerialNumber < 0;
      isNewer = serialRolled || lockGrantorSerialNumber > otherGrantorSerialNumber;
    }

    return isNewer;
  }
Returns true if this instance represents a newer lock grantor version than
<code>otherLockGrantorId</code>. Returns true if <code>otherLockGrantorId</code> is null.

@param otherLockGrantorId the other lock grantor id to compare to
@return true if this instance represents a newer lock grantor version
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/LockGrantorId.java