Package com.tangosol.coherence.jcache
Interface CoherenceBasedCache<K,V> 
- Type Parameters:
 K- the type of keys for theCacheV- the type of values for theCache
- All Superinterfaces:
 AutoCloseable,javax.cache.Cache<K,,V> Closeable,Iterable<javax.cache.Cache.Entry<K,V>> 
- All Known Implementing Classes:
 AbstractCoherenceBasedCache,LocalCache,PartitionedCache,PassThroughCache,RemoteCache
public interface CoherenceBasedCache<K,V> 
extends javax.cache.Cache<K,V> 
An Coherence-based implementation of a 
Cache.
 
 All Coherence-based implementations of Cache
 should implement this interface.
- Since:
 - Coherence 12.1.3
 - Author:
 - bo 2013.11.04
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface javax.cache.Cache
javax.cache.Cache.Entry<K,V>  - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the Coherence Scheme that will manageJCACHE_CONFIG_CACHE_NAMEback-scheme caches.static final StringThe name of the Coherence Scheme that will manageJCACHE_CONFIG_CACHE_NAMEback-scheme service.static final StringThe name of the Coherence NamedCache that will hold JCacheConfigurations.static final StringThe name of the Coherence Scheme that will manageJCACHE_CONFIG_CACHE_NAMEcaches.static final StringThe name of the Coherence Service that will manageJCACHE_CONFIG_CACHE_NAMEcaches.static final Stringstatic final Stringstatic final Stringstatic final StringThe name of the Coherence NamedCache onto which Local JCaches will be mapped.static final StringThe Coherence NamedCache name prefix that JCache Local Caches will use.static final StringThe name of the Coherence Scheme that will manage Local caches.static final StringThe name of the Coherence Service that will manage Local caches.static final StringThe name of the Coherence NamedCache onto which Partitioned JCaches will be mapped.static final StringThe Coherence NamedCache name prefix that JCache Partitioned Caches use internally.static final StringThe name of the Coherence Scheme that will manage partitioned caches.static final StringThe name of the Coherence Service that will manage partitioned caches.static final StringThe name of the Coherence remote scheme for JCache. - 
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Destroys aCoherenceBasedCachedue to a request from aCoherenceBasedCacheManager.Obtain the internal identifier used for JCache caches.Methods inherited from interface javax.cache.Cache
clear, close, containsKey, deregisterCacheEntryListener, get, getAll, getAndPut, getAndRemove, getAndReplace, getCacheManager, getConfiguration, getName, invoke, invokeAll, isClosed, iterator, loadAll, put, putAll, putIfAbsent, registerCacheEntryListener, remove, remove, removeAll, removeAll, replace, replace, unwrapMethods inherited from interface java.lang.Iterable
forEach, spliterator 
- 
Field Details
- 
JCACHE_CONFIG_CACHE_NAME
The name of the Coherence NamedCache that will hold JCacheConfigurations.- See Also:
 
 - 
JCACHE_CONFIG_SERVICE_NAME
The name of the Coherence Service that will manageJCACHE_CONFIG_CACHE_NAMEcaches.- See Also:
 
 - 
JCACHE_CONFIG_SCHEME_NAME
The name of the Coherence Scheme that will manageJCACHE_CONFIG_CACHE_NAMEcaches.- See Also:
 
 - 
JCACHE_CONFIG_BACK_SCHEME_NAME
The name of the Coherence Scheme that will manageJCACHE_CONFIG_CACHE_NAMEback-scheme caches.- See Also:
 
 - 
JCACHE_CONFIG_BACK_SCHEME_SERVICE_NAME
The name of the Coherence Scheme that will manageJCACHE_CONFIG_CACHE_NAMEback-scheme service.- See Also:
 
 - 
JCACHE_PARTITIONED_CACHE_NAME_PREFIX
The Coherence NamedCache name prefix that JCache Partitioned Caches use internally.- See Also:
 
 - 
JCACHE_PARTITIONED_CACHE_NAME_PATTERN
The name of the Coherence NamedCache onto which Partitioned JCaches will be mapped.- See Also:
 
 - 
JCACHE_PARTITIONED_SCHEME_NAME
The name of the Coherence Scheme that will manage partitioned caches.- See Also:
 
 - 
JCACHE_PARTITIONED_SERVICE_NAME
The name of the Coherence Service that will manage partitioned caches.- See Also:
 
 - 
JCACHE_LOCAL_CACHE_NAME_PREFIX
The Coherence NamedCache name prefix that JCache Local Caches will use.- See Also:
 
 - 
JCACHE_LOCAL_CACHE_NAME_PATTERN
The name of the Coherence NamedCache onto which Local JCaches will be mapped.- See Also:
 
 - 
JCACHE_LOCAL_SCHEME_NAME
The name of the Coherence Scheme that will manage Local caches.- See Also:
 
 - 
JCACHE_LOCAL_SERVICE_NAME
The name of the Coherence Service that will manage Local caches.- See Also:
 
 - 
JCACHE_EXTEND_SCHEME_NAME
- See Also:
 
 - 
JCACHE_EXTEND_SERVICE_NAME
- See Also:
 
 - 
JCACHE_EXTEND_PROXY_SERVICE_NAME
- See Also:
 
 - 
JCACHE_REMOTE_SCHEME
The name of the Coherence remote scheme for JCache.- See Also:
 
 
 - 
 - 
Method Details
- 
getIdentifier
JCacheIdentifier getIdentifier()Obtain the internal identifier used for JCache caches.- Returns:
 - the internal 
JCacheIdentifier 
 - 
destroy
void destroy()Destroys aCoherenceBasedCachedue to a request from aCoherenceBasedCacheManager. 
 -