Class CacheKey


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

      • CacheKey

        public CacheKey​(String url,
                        EventsFilterHelper.DateRange 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)