Uses of Interface
com.tangosol.net.cache.TypeAssertion
Package
Description
Contains basic cluster interfaces and factories.
Contains classes providing various caching strategies.
-
Uses of TypeAssertion in com.tangosol.net
Modifier and TypeMethodDescription<K,
V> NamedCache <K, V> CacheProvider.ensureTypedCache
(String sCacheName, ClassLoader loader, TypeAssertion<K, V> assertion) Deprecated.Ensure a cache for the given name satisfying the specified type assertion.default <K,
V> NamedCache <K, V> ConfigurableCacheFactory.ensureTypedCache
(String sCacheName, ClassLoader loader, TypeAssertion<K, V> assertion) Ensure a cache for the given name satisfying the specified type assertion.static <K,
V> NamedCache <K, V> CacheFactory.getTypedCache
(String sCacheName, TypeAssertion<K, V> assertion) Return an instance of a cache with the given name satisfying the specifiedTypeAssertion
.static <K,
V> NamedCache <K, V> CacheFactory.getTypedCache
(String sCacheName, ClassLoader loader, TypeAssertion<K, V> assertion) Return an instance of a cache with the given name satisfying the specifiedTypeAssertion
. -
Uses of TypeAssertion in com.tangosol.net.cache
Modifier and TypeFieldDescriptionstatic final TypeAssertion
TypeAssertion.WITH_RAW_TYPES
When used warnings will be issued where types are configured but not used.static final TypeAssertion
TypeAssertion.WITHOUT_TYPE_CHECKING
When used no type checking will occur and no warnings will be generated.Modifier and TypeMethodDescriptionstatic <K,
V> TypeAssertion <K, V> TypeAssertion.withoutTypeChecking()
Obtains aTypeAssertion
that allows NamedCaches to be acquired without type-checking, warnings or log messages.static TypeAssertion
TypeAssertion.withRawTypes()
Obtains aTypeAssertion
that allows NamedCaches to be acquired and assigned to a raw NamedCache reference.static <K,
V> TypeAssertion <K, V> Obtains aTypeAssertion
that asserts the specified types are configured for a cache.