Is there a simple way how to use multiple arguments as keys for @Cacheable? For example, if I wanted to cache
with key determined by both author and title.
public Book findBook(String author, String title,
boolean checkWarehouse, boolean includeUsed)
I tried asking that on SO but without success.
Proposal: What about changing Cacheable's String key to String keys in a future version? I suppose the internal implementation could be easily modified to take care of that.