Package org.infinispan.util
Class EmbeddedTimeService
- java.lang.Object
-
- org.infinispan.commons.time.DefaultTimeService
-
- org.infinispan.util.EmbeddedTimeService
-
- All Implemented Interfaces:
TimeService
public class EmbeddedTimeService extends DefaultTimeService
The default implementation ofTimeService
. It does not perform any optimization and relies onSystem.currentTimeMillis()
andSystem.nanoTime()
.- Since:
- 5.3
- Author:
- Pedro Ruivo
-
-
Field Summary
-
Fields inherited from class org.infinispan.commons.time.DefaultTimeService
INSTANCE
-
-
Constructor Summary
Constructors Constructor Description EmbeddedTimeService()
-
Method Summary
-
Methods inherited from class org.infinispan.commons.time.DefaultTimeService
expectedEndTime, instant, isTimeExpired, remainingTime, time, timeDuration, timeDuration, wallClockTime
-
-