Class EmbeddedTimeService

java.lang.Object
org.infinispan.commons.time.DefaultTimeService
org.infinispan.util.EmbeddedTimeService
All Implemented Interfaces:
org.infinispan.commons.time.TimeService

public class EmbeddedTimeService extends org.infinispan.commons.time.DefaultTimeService
The default implementation of TimeService. It does not perform any optimization and relies on System.currentTimeMillis() and System.nanoTime().
Since:
5.3
Author:
Pedro Ruivo
  • Field Summary

    Fields inherited from class org.infinispan.commons.time.DefaultTimeService

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class org.infinispan.commons.time.DefaultTimeService

    expectedEndTime, instant, isTimeExpired, remainingTime, time, timeDuration, timeDuration, wallClockTime

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EmbeddedTimeService

      public EmbeddedTimeService()