Class TimeServiceTicker

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

    public class TimeServiceTicker
    extends Object
    implements com.github.benmanes.caffeine.cache.Ticker
    A Ticker for Caffeine backed by a TimeService
    Since:
    10.0
    Author:
    Tristan Tarrant <[email protected]>
    • Constructor Detail

      • TimeServiceTicker

        public TimeServiceTicker​(TimeService timeService)
    • Method Detail

      • read

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