public static long monotonicMs() {
        return TimeUnit.NANOSECONDS.toMillis(System.nanoTime());
    }
Gets the current monotonic time in milliseconds.
jraft-core/src/main/java/com/alipay/sofa/jraft/util/Utils.java