Uses of Class
com.fasterxml.jackson.databind.util.LRUMap
-
Packages that use LRUMap Package Description com.fasterxml.jackson.databind.deser Contains implementation classes of deserialization part of data binding.com.fasterxml.jackson.databind.introspect Functionality needed for Bean introspection, required for detecting accessors and mutators for Beans, as well as locating and handling method annotations.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 LRUMap in com.fasterxml.jackson.databind.deser
Fields in com.fasterxml.jackson.databind.deser declared as LRUMap Modifier and Type Field Description protected LRUMap<JavaType,JsonDeserializer<java.lang.Object>>
DeserializerCache. _cachedDeserializers
We will also cache some dynamically constructed deserializers; specifically, ones that are expensive to construct. -
Uses of LRUMap in com.fasterxml.jackson.databind.introspect
Fields in com.fasterxml.jackson.databind.introspect declared as LRUMap Modifier and Type Field Description protected LRUMap<java.lang.Class<?>,java.lang.Boolean>
JacksonAnnotationIntrospector. _annotationsInside
Since introspection of annotation types is a performance issue in some use cases (rare, but do exist), let's try a simple cache to reduce need for actual meta-annotation introspection. -
Uses of LRUMap in com.fasterxml.jackson.databind.type
Methods in com.fasterxml.jackson.databind.type with parameters of type LRUMap Modifier and Type Method Description TypeFactory
TypeFactory. withCache(LRUMap<java.lang.Object,JavaType> cache)
Deprecated.Since 2.12Constructors in com.fasterxml.jackson.databind.type with parameters of type LRUMap Constructor Description TypeFactory(LRUMap<java.lang.Object,JavaType> typeCache)
Deprecated.Since 2.12TypeFactory(LRUMap<java.lang.Object,JavaType> typeCache, TypeParser p, TypeModifier[] mods, java.lang.ClassLoader classLoader)
Deprecated.Since 2.12 -
Uses of LRUMap in com.fasterxml.jackson.databind.util
Fields in com.fasterxml.jackson.databind.util declared as LRUMap Modifier and Type Field Description protected LRUMap<ClassKey,PropertyName>
RootNameLookup. _rootNames
For efficient operation, let's try to minimize number of times we need to introspect root element name to use.
-