Interface MonotonicClockTranslation

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long error()
      Nanoseconds of probable error in the translation
      long fromMillisSinceEpoch​(long currentTimeMillis)
      accepts millis since epoch, returns nanoTime in the related clock
      long toMillisSinceEpoch​(long nanoTime)
      accepts nanoTime in the related MonotinicClock, returns millis since epoch
    • Method Detail

      • fromMillisSinceEpoch

        long fromMillisSinceEpoch​(long currentTimeMillis)
        accepts millis since epoch, returns nanoTime in the related clock
      • toMillisSinceEpoch

        long toMillisSinceEpoch​(long nanoTime)
        accepts nanoTime in the related MonotinicClock, returns millis since epoch
      • error

        long error()
        Nanoseconds of probable error in the translation