Interface NanoClock

All Known Implementing Classes:
DummyNanoClock, SystemNanoClock

public interface NanoClock
Provides the high-resolution time stamp used in log events.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the current value of the running Java Virtual Machine's high-resolution time source, in nanoseconds.
  • Method Details

    • nanoTime

      long nanoTime()
      Returns the current value of the running Java Virtual Machine's high-resolution time source, in nanoseconds.
      Returns:
      the current value of the running Java Virtual Machine's high-resolution time source, in nanoseconds