Package javax.cache

This package contains the API for JCache..

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).
CacheBuilder<K,V> A CacheBuilder is used for creating Caches.
CacheConfiguration Information on how a cache is configured.
CacheLifecycle Cache resources may have non-trivial initialisation and disposal procedures.
CacheLoader<K,V> Used for read-through caching and loading data into a cache.
CacheManager A CacheManager is used for looking up Caches and controls their lifecycle.
CacheStatistics A management bean for cache statistics.
CacheWriter<K,V> A CacheWriter is used for write-through and write-behind caching to a underlying resource.
 

Class Summary
CacheConfiguration.Duration A time duration.
Caching A factory for creating CacheManagers using the SPI conventions import javax.cache.spi.AnnotationProvider; in the JDK's ServiceLoader

For a provider to be discovered, it's jar must contain a resource called:

 

Enum Summary
CacheConfiguration.ExpiryType Type of Expiry
OptionalFeature Optional features that may be present in an implementation.
Status Indicates the status in it's lifecycle of a resource.
 

Exception Summary
CacheException Thrown to indicate an exception has occurred in the Cache.
InvalidConfigurationException An exception to report invalid configuration settings.
 

Package javax.cache Description

This package contains the API for JCache.. The main components are a CacheManager that holds and controls a collection of Caches. A cache is an association of key to value.

Since:
1.0
Author:
Greg Luck, Yannis Cosmadopoulos


Copyright © 2011. All Rights Reserved.