K - the type of the Cache keysV - the type of the Cache valuespublic interface CoherenceBasedConfiguration<K,V>
extends javax.cache.configuration.Configuration<K,V>
Configuration for a CoherenceBasedCache.
Caches produced by an implementation of this configuration
are not guaranteed to be compliant to the JCache specification.
Only configurations that additionally implement the appropriate JCache
configuration interface(s), namely
the CompleteConfiguration interface,
are guaranteed to be compliant.
CoherenceBasedCompleteConfiguration| Modifier and Type | Method and Description |
|---|---|
CoherenceBasedCache<K,V> |
createCache(CoherenceBasedCacheManager manager,
String name)
Creates a
CoherenceBasedCache based on the current state of
the CoherenceBasedConfiguration, to be owned by
the specified CoherenceBasedCacheManager. |
void |
destroyCache(CoherenceBasedCacheManager manager,
String name)
Destroy a
CoherenceBasedCache implementation. |
CoherenceBasedCache<K,V> createCache(CoherenceBasedCacheManager manager, String name) throws IllegalArgumentException
CoherenceBasedCache based on the current state of
the CoherenceBasedConfiguration, to be owned by
the specified CoherenceBasedCacheManager.manager - the owning CoherenceBasedCacheManagername - the name of the Cache to be configuredCoherenceBasedCacheIllegalArgumentException - when a Cache can't be created
based on the current CoherenceBasedConfigurationvoid destroyCache(CoherenceBasedCacheManager manager, String name)
CoherenceBasedCache implementation.manager - the owning CoherenceBasedCacheManagername - the name of the Cache to be destroyed