# @Cacheable, @CachePut and @CacheEvict on the same cache

after findBook          : repository calls = 1
@CachePut wrote          : Book[isbn=978-0134685991, title=Effective Java (3rd ed.), year=2018]
next findBook returns    : Book[isbn=978-0134685991, title=Effective Java (3rd ed.), year=2018]
repository calls         : 1   <- @CachePut refreshed the entry, no reload

after @CacheEvict        : findBook -> Book[isbn=978-0134685991, title=Effective Java, year=2018]
repository calls         : 2   <- the entry was gone, so the method ran again

after allEntries=true    : repository calls = 5   <- both entries were dropped
