Uses of Interface
com.fasterxml.jackson.databind.util.LookupCache
-
Packages that use LookupCache Package Description com.fasterxml.jackson.databind.cfg Package that contains most of configuration-related classes; exception being couple of most-commonly used configuration things (like Feature enumerations) that are at the main level (com.fasterxml.jackson.databind
).com.fasterxml.jackson.databind.deser Contains implementation classes of deserialization part of data binding.com.fasterxml.jackson.databind.ser Contains implementation classes of serialization part of data binding.com.fasterxml.jackson.databind.ser.impl Contains implementation classes of serialization part of data binding.com.fasterxml.jackson.databind.type Package that contains concrete implementations ofJavaType
, as well as the factory (TypeFactory
) for constructing instances from various input data types (likeClass
,Type
) and programmatically (for structured types, arrays,List
s andMap
s).com.fasterxml.jackson.databind.util Utility classes for Mapper package. -
-
Uses of LookupCache in com.fasterxml.jackson.databind.cfg
Methods in com.fasterxml.jackson.databind.cfg that return LookupCache Modifier and Type Method Description protected <K,V>
LookupCache<K,V>DefaultCacheProvider. _buildCache(int maxSize)
LookupCache<JavaType,JsonDeserializer<java.lang.Object>>
CacheProvider. forDeserializerCache(DeserializationConfig config)
Method for constructing aLookupCache
instance to be used byDeserializerCache
.LookupCache<JavaType,JsonDeserializer<java.lang.Object>>
DefaultCacheProvider. forDeserializerCache(DeserializationConfig config)
Method to provide aLookupCache
instance for constructingDeserializerCache
.LookupCache<TypeKey,JsonSerializer<java.lang.Object>>
CacheProvider. forSerializerCache(SerializationConfig config)
Method for constructing aLookupCache
instance to be used bySerializerCache
.LookupCache<TypeKey,JsonSerializer<java.lang.Object>>
DefaultCacheProvider. forSerializerCache(SerializationConfig config)
LookupCache<java.lang.Object,JavaType>
CacheProvider. forTypeFactory()
Method for constructing aLookupCache
instance to be used byTypeFactory
.LookupCache<java.lang.Object,JavaType>
DefaultCacheProvider. forTypeFactory()
-
Uses of LookupCache in com.fasterxml.jackson.databind.deser
Fields in com.fasterxml.jackson.databind.deser declared as LookupCache Modifier and Type Field Description protected LookupCache<JavaType,JsonDeserializer<java.lang.Object>>
DeserializerCache. _cachedDeserializers
We will also cache some dynamically constructed deserializers; specifically, ones that are expensive to construct.Constructors in com.fasterxml.jackson.databind.deser with parameters of type LookupCache Constructor Description DeserializerCache(LookupCache<JavaType,JsonDeserializer<java.lang.Object>> cache)
-
Uses of LookupCache in com.fasterxml.jackson.databind.ser
Constructors in com.fasterxml.jackson.databind.ser with parameters of type LookupCache Constructor Description SerializerCache(LookupCache<TypeKey,JsonSerializer<java.lang.Object>> cache)
-
Uses of LookupCache in com.fasterxml.jackson.databind.ser.impl
Methods in com.fasterxml.jackson.databind.ser.impl with parameters of type LookupCache Modifier and Type Method Description static ReadOnlyClassToSerializerMap
ReadOnlyClassToSerializerMap. from(LookupCache<TypeKey,JsonSerializer<java.lang.Object>> src)
Factory method for constructing an instance.Constructors in com.fasterxml.jackson.databind.ser.impl with parameters of type LookupCache Constructor Description ReadOnlyClassToSerializerMap(LookupCache<TypeKey,JsonSerializer<java.lang.Object>> src)
-
Uses of LookupCache in com.fasterxml.jackson.databind.type
Fields in com.fasterxml.jackson.databind.type declared as LookupCache Modifier and Type Field Description protected LookupCache<java.lang.Object,JavaType>
TypeFactory. _typeCache
Since type resolution can be expensive (specifically when resolving actual generic types), we will use small cache to avoid repetitive resolution of core typesMethods in com.fasterxml.jackson.databind.type with parameters of type LookupCache Modifier and Type Method Description TypeFactory
TypeFactory. withCache(LookupCache<java.lang.Object,JavaType> cache)
Mutant factory method that will construct newTypeFactory
with identical settings except for different cache.Constructors in com.fasterxml.jackson.databind.type with parameters of type LookupCache Constructor Description TypeFactory(LookupCache<java.lang.Object,JavaType> typeCache)
TypeFactory(LookupCache<java.lang.Object,JavaType> typeCache, TypeParser p, TypeModifier[] mods, java.lang.ClassLoader classLoader)
-
Uses of LookupCache in com.fasterxml.jackson.databind.util
Classes in com.fasterxml.jackson.databind.util that implement LookupCache Modifier and Type Class Description class
LRUMap<K,V>
Helper for simple bounded maps used for reusing lookup values.Methods in com.fasterxml.jackson.databind.util that return LookupCache Modifier and Type Method Description default LookupCache<K,V>
LookupCache. emptyCopy()
Method needed for creating clones but without contents.LookupCache<K,V>
LRUMap. emptyCopy()
-