Interface CoreConfigManager.EtimeService

    • Method Detail

      • now

        long now()
        Returns a value that represents "now" since the epoch.
        Returns:
        a value that represents "now" since the epoch
      • getTimeUnit

        TimeUnit getTimeUnit()
        Returns the time unit of this etime service.
        Returns:
        the time unit of this etime service
      • since

        default long since​(long past)
        Computes the elapsed time between now and past.
        Parameters:
        past - time value to compare to now.
        Returns:
        the elapsed time