Spring cache abstraction with multivalued requests

Does Spring cache paragraph support multi-valued queries?

Instead:

@Cacheable ("book") public Book findBook (ISBN isbn) {...}

Submit a query that would look like this:

@Cacheable ("book") open list <Book> findBook (List <ISBN> isbns) {...}

Is it supported? Will he cache each book returned to the collection separately?

Thanks!

+2
source share
2 answers

Spring , , . JPA . , memcached , Spring Memcached ReadThroughMultiCache. .

+3

. , . , , .

+1

All Articles