Class CacheKey
java.lang.Object
org.ametys.plugins.calendar.icsreader.CacheKey
A key class used for the events cache
-
Constructor Summary
ConstructorDescriptionCacheKey
(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) -
Method Summary
-
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 urldateRange
- date range used to return datanbEvents
- max number of events to fetchmaxFileSize
- max ics file size (in bytes)
-
-
Method Details