void setTerminalState(LockState terminalState, Instant instant) {
        lockState = terminalState;
        terminalStateInstant = Optional.of(instant);
    }
Fill in the stack trace starting at the caller's stack frame.
zkfacade/src/main/java/com/yahoo/vespa/curator/stats/LockAttempt.java