| Interface | Description |
|---|---|
| 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
and
Cache#loadAll(Iterable, javax.cache.event.CompletionListener) method. |
| CacheManager |
A CacheManager is used for establishing, looking up and managing the lifecycle
of zero or more Caches.
|
| 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> |
A read-only representation of a
Cache configuration. |
| ExpiryPolicy<K,V> |
Defines functions to determine when cache entries will expire based on
creation, access and modification operations.
|
| Factory<T> |
Constructs and returns a fully configured instance of a specific type.
|
| Class | Description |
|---|---|
| Caching |
The bootstrap and helper class for locating and managing CachingProvider implementations.
|
| Caching.CachingProviderRegistry |
Maintains a registry of loaded CachingProviders scoped by ClassLoader.
|
| 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. |
| Factories |
This class exclusively defines static methods to aid in the construction
and manipulation of
Factory instances. |
| Factories.ClassFactory<T> |
A
Factory that instantiates a specific Class. |
| Factories.SingletonFactory<T> |
A
Factory that always returns a specific instance. |
| MutableConfiguration<K,V> |
A simple mutable implementation of a
Configuration. |
| Enum | Description |
|---|---|
| OptionalFeature |
Optional features that may be present in an implementation.
|
| Status |
Indicates the lifecycle status of a resource.
|
| Exception | Description |
|---|---|
| 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.
|
Caching class. CacheManager holds and controls a collection
of Caches.
A cache is an association of key to value.
Copyright © 2013. All Rights Reserved.