Interface CurrentNanosSource

  • All Known Implementing Classes:
    FakeNanoSource

    public interface CurrentNanosSource
    An object that provides the current time since the Unix epoch, with nanosecond precision.
    • Method Detail

      • currentTimeNanoPrecision

        long currentTimeNanoPrecision()
        Obtain the current time since the Unix epoch, with nanosecond precision.
        Returns:
        The number of nanoseconds that have elapsed since the Unix epoch.