O'Reilly logo

Instant Effective Caching with Ehcache by Daniel Wind

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Getting ready

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required