Uses of Class
com.fasterxml.jackson.databind.util.LRUMap
Packages that use LRUMap
Package
Description
Contains implementation classes of deserialization part of
data binding.
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
Contains implementation classes of serialization part of
data binding.
Utility classes for Mapper package.
-
Uses of LRUMap in com.fasterxml.jackson.databind.deser
Fields in com.fasterxml.jackson.databind.deser declared as LRUMapModifier and TypeFieldDescriptionprotected final LRUMap<JavaType,
JsonDeserializer<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 LRUMapModifier and TypeFieldDescriptionJacksonAnnotationIntrospector._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.ser.impl
Methods in com.fasterxml.jackson.databind.ser.impl with parameters of type LRUMapModifier and TypeMethodDescriptionstatic ReadOnlyClassToSerializerMap
ReadOnlyClassToSerializerMap.from
(LRUMap<TypeKey, JsonSerializer<Object>> src) Factory method for constructing an instance.Constructors in com.fasterxml.jackson.databind.ser.impl with parameters of type LRUMapModifierConstructorDescription -
Uses of LRUMap in com.fasterxml.jackson.databind.type
Methods in com.fasterxml.jackson.databind.type with parameters of type LRUMapModifier and TypeMethodDescriptionDeprecated.Since 2.12Constructors in com.fasterxml.jackson.databind.type with parameters of type LRUMapModifierConstructorDescriptionprotected
TypeFactory
(LRUMap<Object, JavaType> typeCache) Deprecated.Since 2.12protected
TypeFactory
(LRUMap<Object, JavaType> typeCache, TypeParser p, TypeModifier[] mods, ClassLoader classLoader) Deprecated.Since 2.12 -
Uses of LRUMap in com.fasterxml.jackson.databind.util
Fields in com.fasterxml.jackson.databind.util declared as LRUMapModifier and TypeFieldDescriptionprotected 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.