Hi, akonresh understood, but then I would need another cache to keep track of those counts.
Ilya would a EntryProcessor allow for that with the invoke? Because creating a wrapper I still need to track the counts. On Wed, 22 Apr 2020 at 12:10, Ilya Kasnacheev <[email protected]> wrote: > Hello! > > I actually think that the optimal way is to have your own wrapper API > which is only source of cache gets and which does this accounting under the > hood. > > Then it can invoke the same cache entry to keep track of number of reads. > > Regards, > -- > Ilya Kasnacheev > > > вт, 21 апр. 2020 г. в 22:00, John Smith <[email protected]>: > >> Hi I want to store a key/value and If that key has been accessed more >> than 3 times for example remove it. What is the best way to do this? >> >
