Class TimeServiceTicker

  • All Implemented Interfaces:
    com.github.benmanes.caffeine.cache.Ticker

    public class TimeServiceTicker
    extends java.lang.Object
    implements com.github.benmanes.caffeine.cache.Ticker
    A Ticker for Caffeine backed by a TimeService
    Since:
    10.0
    Author:
    Tristan Tarrant <tristan@infinispan.org>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long read()  
      • Methods inherited from class java.lang.Object

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

      • TimeServiceTicker

        public TimeServiceTicker​(TimeService timeService)
    • Method Detail

      • read

        public long read()
        Specified by:
        read in interface com.github.benmanes.caffeine.cache.Ticker