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.
Serializer<V> Tagging interface for a binary representation of a value or key.
Serializer.Binary<V> Internal storage
 

Enum Summary
CacheManagerFactory A factory for creating CacheManagers using the SPI conventions in the JDK's ServiceLoader For a provider to be discovered by the CacheManagerFactory, it's jar must contain a resource called:
CacheStatus Indicates the status in it's lifecycle of a resource.
OptionalFeature Optional features that may be present in an implementation.
 

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.