Terracotta Ehcache 10.1 | Ehcache API Developer Guide | Caching Basics | Primary Classes
 
Primary Classes
At the core of the concept of the Ehcache API are three classes:
*CacheManager
*Cache
*UserManagedCache
A CacheManager provides all necessary functionality to manage Caches and associated Services.
A Cache contains mappings of key to value, so-called entries. There are methods to create, access, update and delete these key-value pairs.
A UserManagedCache allows to actively define a specific cache handling in cases where the full functionality of CacheManager may not be necessary, for instance when the lifecycle of the cache is shorter than the application lifecycle.
For more information on these three classes refer to the following sections ...
*Comparison of CacheManager to UserManagedCache
*Creating and Configuring a CacheManager Using Java
*User Managed Caches
... and the Java API docs of the Ehcache API on http://www.ehcache.org/documentation/.

Copyright © 2010-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release