Interface NanoClock

  • All Known Implementing Classes:
    DummyNanoClock, SystemNanoClock

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long nanoTime()
      Returns the current value of the running Java Virtual Machine's high-resolution time source, in nanoseconds.
    • Method Detail

      • 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