Class CacheKey

java.lang.Object
org.ametys.plugins.calendar.icsreader.CacheKey

public class CacheKey extends Object
A key class used for the events cache
  • Constructor Details

    • CacheKey

      public CacheKey(String url, EventsFilterHelper.DateTimeRange dateRange, Long nbEvents, Long maxFileSize)
      The value needed to create a key (so if there are many services with the same url but different parameters, we will use another cache)
      Parameters:
      url - ics url
      dateRange - date range used to return data
      nbEvents - max number of events to fetch
      maxFileSize - max ics file size (in bytes)
  • Method Details