code: public void refresh() throws LockException, RepositoryException
     {
        if (!isLive())
           throw new LockException("Lock is not live");
  
        LockData newLockData =
           new LockData(lockData.getNodeIdentifier(), lockData.getTokenHash(), lockData.isDeep(), lockData
              .isSessionScoped(), lockData.getOwner(), lockData.getTimeOut());
  
        lockManager.refresh(newLockData);
        lockData = newLockData;
     }
docs: {@inheritDoc}