public static LockAttempt invokingAcquire(ThreadLockStats threadLockStats, String lockPath,
                                              Duration timeout, LockMetrics lockMetrics,
                                              boolean reentry) {
        return new LockAttempt(threadLockStats, lockPath, timeout, Instant.now(), lockMetrics, reentry);
    }
Information about a lock.

<p>Should be mutated by a single thread, except {@link #fillStackTrace()} which can be
invoked by any threads.  Other threads may see an inconsistent state of this instance.</p>

@author hakon
zkfacade/src/main/java/com/yahoo/vespa/curator/stats/LockAttempt.java