Package com.tangosol.net
Interface CacheProvider
-
@Deprecated public interface CacheProvider
Deprecated.WARNING: Do not use this interface. It is no longer used internally and will be removed in the future. UseSession
interface instead.A deprecated interface for cache service provider.
- Since:
- Coherence 12.2.1
- Author:
- lh 2015.06.29
- See Also:
Session
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
ensureCache
default NamedCache<Object,Object> ensureCache(String sCacheName, ClassLoader loader)
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
-
-