Package com.tangosol.net
Interface CacheProvider
Deprecated.
WARNING: Do not use this interface. It is no longer used internally and will
be removed in the future. Use
Session
interface instead.
A deprecated interface for cache service provider.
- Since:
- Coherence 12.2.1
- Author:
- lh 2015.06.29
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.
-
Method Details
-
ensureCache
Deprecated.Ensure an Object-based cache for the given name.- Parameters:
sCacheName
- the cache nameloader
- ClassLoader that should be used to deserialize objects in the cache- Returns:
- a NamedCache created
-
ensureTypedCache
<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.- Parameters:
sCacheName
- the cache nameloader
- theClassLoader
to use for deserializing cache entriesassertion
- theTypeAssertion
for asserting the type of keys and values for the NamedCache- Returns:
- a NamedCache created
- Since:
- Coherence 12.2.1
-