Class TimeServiceTicker

java.lang.Object
org.infinispan.commons.time.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 <tristan@infinispan.org>
  • Constructor Details

    • TimeServiceTicker

      public TimeServiceTicker(TimeService timeService)
  • Method Details

    • read

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