Package | Description |
---|---|
com.tangosol.net |
Contains basic cluster interfaces and factories.
|
com.tangosol.net.cache |
Contains classes providing various caching strategies.
|
Modifier and Type | Method and Description |
---|---|
<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, ClassLoader loader, TypeAssertion<K,V> assertion)
Return an instance of a cache with the given name satisfying the specified
TypeAssertion . |
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 specified
TypeAssertion . |
Modifier and Type | Class and Description |
---|---|
static class |
TypeAssertion.WithTypesAssertion<K,V> |
Modifier and Type | Field and Description |
---|---|
static TypeAssertion |
TypeAssertion.WITH_RAW_TYPES
When used warnings will be issued where types are configured but not used.
|
static TypeAssertion |
TypeAssertion.WITHOUT_TYPE_CHECKING
When used no type checking will occur and no warnings will be generated.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> TypeAssertion<K,V> |
TypeAssertion.withoutTypeChecking()
Obtains a
TypeAssertion that allows NamedCaches to be acquired without type-checking, warnings or log messages. |
static TypeAssertion |
TypeAssertion.withRawTypes()
Obtains a
TypeAssertion that allows NamedCaches to be acquired and assigned to a raw NamedCache reference. |
static <K,V> TypeAssertion<K,V> |
TypeAssertion.withTypes(Class<K> clsKey, Class<V> clsValue)
Obtains a
TypeAssertion that asserts the specified types are configured for a cache. |