code: boolean extendLeaseTime(String caller, long threadId, long leaseTime) {
          if (!isLockedBy(caller, threadId)) {
              return false;
          }
          this.blockReads = true;
          if (expirationTime < Long.MAX_VALUE) {
              setExpirationTime(expirationTime - Clock.currentTimeMillis() + leaseTime);
          }
          return true;
      }
docs: This method is used to extend the already locked resource in the prepare phase of the transactions.
  It also marks the resource true to block reads.
  
  @param caller
  @param threadId
  @param leaseTime
  @return