public void unlockForClear(InternalDistributedMember locker){
synchronized (this.clearLockSync) {
    InternalDistributedSystem instance=InternalDistributedSystem.getAnyInstance();
    if (instance != null && logger.isDebugEnabled()) {
      logger.debug("Unlocking for clear, from member {} RVV {}",locker,System.identityHashCode(this));
    }
    if (this.lockOwner != null && !locker.equals(this.lockOwner)) {
      if (instance != null && logger.isDebugEnabled()) {
        logger.debug("current clear lock owner was {} not unlocking",lockOwner);
      }
      return;
    }
    unlockVersionGeneration(locker);
  }
}

public void unlockForClear ( InternalDistributedMember locker ) { synchronized ( this . clearLockSync ) { InternalDistributedSystem instance = InternalDistributedSystem . getAnyInstance ( ) ; if ( instance != null && logger . isDebugEnabled ( ) ) { logger . debug ( "Unlocking for clear, from member {} RVV {}" , locker , System . identityHashCode ( this ) ) ; } if ( this . lockOwner != null && ! locker . equals ( this . lockOwner ) ) { if ( instance != null && logger . isDebugEnabled ( ) ) { logger . debug ( "current clear lock owner was {} not unlocking" , lockOwner ) ; } return ; } unlockVersionGeneration ( locker ) ; } }
unlocks version generation for clear ( ) operations
