|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
Cache<K,V> | A Cache provides storage of data for later fast retrieval. |
Cache.Entry<K,V> | A cache entry (key-value pair). |
Cache.EntryProcessor<K,V,T> | Allows execution of code which may mutate a cache entry with exclusive access (including reads) to that entry. |
Cache.MutableEntry<K,V> | An accessor and mutator to the underlying Cache |
CacheLifecycle | Cache resources may have non-trivial initialisation and disposal procedures. |
CacheLoader<K,V> | Used when a cache is read-through or when loading data into a cache via the Cache.load(Object)
and Cache.loadAll(java.util.Set) methods. |
CacheManager | A CacheManager is used for establishing, looking up and managing the lifecycle of zero or more Caches. |
CacheManagerFactory | Manages CacheManager instances. |
CacheMXBean | A management bean for cache. |
CacheStatisticsMXBean | Cache statistics. |
CacheWriter<K,V> | A CacheWriter is used for write-through to an underlying resource. |
Configuration<K,V> | The basic representation of a configuration for a Cache . |
ExpiryPolicy<K,V> | Defines functions to determine when cache entries will expire based on creation, access and modification operations. |
Class Summary | |
---|---|
Caching | A factory for creating CacheManagers using the SPI conventions in the JDK's ServiceLoader
For a provider to be discovered, its jar must contain a resource called: |
Configuration.Duration | A time duration. |
ExpiryPolicy.Accessed<K,V> | A ExpiryPolicy that defines the expiry Configuration.Duration
of a Cache Entry based on the last time it was accessed. |
ExpiryPolicy.Default<K,V> | The default ExpiryPolicy specifies that Cache Entries
won't expire. |
ExpiryPolicy.Modified<K,V> | A ExpiryPolicy that defines the expiry Configuration.Duration
of a Cache Entry based on the last time it was modified. |
SimpleConfiguration<K,V> | A simple mutable implementation of a Configuration . |
Enum Summary | |
---|---|
OptionalFeature | Optional features that may be present in an implementation. |
Status | Indicates the lifecycle status of a resource. |
Exception Summary | |
---|---|
CacheException | Thrown to indicate an exception has occurred in the Cache. |
CachingShutdownException | Thrown to indicate an exception has occurred in an aggregate Caching shutdown procedure. |
InvalidConfigurationException | An exception to report invalid configuration settings. |
This package contains the API for JCache. The entry point is the
Caching
class. CacheManager
holds and controls a collection of Cache
s.
A cache is an association of key to value.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |