The Ehcache Search API (Advanced)
In this recipe, we will cover the following topics:
- The Ehcache Search API
- Implementing search queries and criteria conditions
- We will examine how to implement the Ehcache Search API. We also discuss how to improve performance of your caching solution as well as further information to make it scalable by adapting Ehcache to your applications OOP model.
The Ehcache Search API allows us to query and search for elements that are already cached. This is achieved thanks to the ability to use indexing on keys and/or values pertaining to the object being cached. Ehcache provides queries that let us create arbitrary complex searches based on conditions, making this tool indispensable for professional caching. ...