@Deprecated public interface CacheProvider
Session interface instead.
A deprecated interface for cache service provider.
Session| Modifier and Type | Method and Description | 
|---|---|
default NamedCache<Object,Object> | 
ensureCache(String sCacheName, ClassLoader loader)
Deprecated.  
Ensure an Object-based cache for the given name. 
 | 
<K,V> NamedCache<K,V> | 
ensureTypedCache(String sCacheName, ClassLoader loader, TypeAssertion<K,V> assertion)
Deprecated.  
Ensure a cache for the given name satisfying the specified type assertion. 
 | 
default NamedCache<Object,Object> ensureCache(String sCacheName, ClassLoader loader)
sCacheName - the cache nameloader - ClassLoader that should be used to deserialize objects in the cache<K,V> NamedCache<K,V> ensureTypedCache(String sCacheName, ClassLoader loader, TypeAssertion<K,V> assertion)
sCacheName - the cache nameloader - the ClassLoader to use for deserializing cache entriesassertion - the TypeAssertion for asserting the type of keys and values for the NamedCache