Uses of Interface
org.cache2k.config.CacheType
-
Packages that use CacheType Package Description org.cache2k Main package for cache2k API containing functions to build and access a cache.org.cache2k.config The cache configuration as a Java bean and support types.org.cache2k.operation Operational aspects of a cache, like accessing statistics, basic information, change runtime parameters and customizations that augment general behavior. -
-
Uses of CacheType in org.cache2k
Methods in org.cache2k with parameters of type CacheType Modifier and Type Method Description <K2> Cache2kBuilder<K2,V>
Cache2kBuilder. keyType(CacheType<K2> t)
The used type of the cache key.<V2> Cache2kBuilder<K,V2>
Cache2kBuilder. valueType(CacheType<V2> t)
Sets the value type to use. -
Uses of CacheType in org.cache2k.config
Classes in org.cache2k.config that implement CacheType Modifier and Type Class Description class
CacheTypeCapture<T>
Helper class to capture generic types into a type descriptor.static class
CacheTypeCapture.OfArray
CacheType representing an array.static class
CacheTypeCapture.OfClass<T>
CacheType representing a class.static class
CacheTypeCapture.OfGeneric<T>
CacheType representing a generic type.Methods in org.cache2k.config that return CacheType Modifier and Type Method Description @Nullable CacheType<?>
CacheType. getComponentType()
The component type in case of an array@Nullable CacheType<?>
CacheTypeCapture. getComponentType()
CacheType<?>
CacheTypeCapture.OfArray. getComponentType()
@Nullable CacheType<K>
Cache2kConfig. getKeyType()
@Nullable CacheType<?>[]
CacheType. getTypeArguments()
Known type arguments, if the type is a parametrized type.@Nullable CacheType<?>[]
CacheTypeCapture. getTypeArguments()
CacheType<?>[]
CacheTypeCapture.OfGeneric. getTypeArguments()
@Nullable CacheType<V>
Cache2kConfig. getValueType()
static <T> CacheType<T>
CacheType. of(Class<T> t)
static CacheType<?>
CacheType. of(Type t)
Methods in org.cache2k.config with parameters of type CacheType Modifier and Type Method Description static <K,V>
Cache2kConfig<K,V>Cache2kConfig. of(CacheType<K> keyType, CacheType<V> valueType)
Construct a config instance setting the type parameters and returning a proper generic type.void
Cache2kConfig. setKeyType(@Nullable CacheType<K> v)
void
Cache2kConfig. setValueType(@Nullable CacheType<V> v)
Constructors in org.cache2k.config with parameters of type CacheType Constructor Description OfArray(CacheType<?> componentType)
OfGeneric(Class<T> type, CacheType<?>[] typeArguments)
-
Uses of CacheType in org.cache2k.operation
Methods in org.cache2k.operation that return CacheType Modifier and Type Method Description CacheType<?>
CacheInfo. getKeyType()
Type of the cache key.CacheType<?>
CacheInfo. getValueType()
Type of the cache value.
-