Uses of Interface
tools.jackson.databind.util.LookupCache
Packages that use LookupCache
Package
Description
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 (
tools.jackson.databind
).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.
Contains implementation classes of serialization part of
data binding.
Utility classes for Mapper package.
-
Uses of LookupCache in tools.jackson.databind.cfg
Methods in tools.jackson.databind.cfg that return LookupCacheModifier and TypeMethodDescriptionprotected <K,
V> LookupCache<K, V> DefaultCacheProvider._buildCache
(int maxSize) CacheProvider.forDeserializerCache
(DeserializationConfig config) Method to provide aLookupCache
instance for constructingDeserializerCache
.DefaultCacheProvider.forDeserializerCache
(DeserializationConfig config) Method to provide aLookupCache
instance for constructingDeserializerCache
.CacheProvider.forSerializerCache
(SerializationConfig config) Method to provide aLookupCache
instance for constructingSerializerCache
.DefaultCacheProvider.forSerializerCache
(SerializationConfig config) CacheProvider.forTypeFactory()
Method to provide aLookupCache
instance for constructingTypeFactory
.DefaultCacheProvider.forTypeFactory()
-
Uses of LookupCache in tools.jackson.databind.deser
Constructors in tools.jackson.databind.deser with parameters of type LookupCacheModifierConstructorDescription -
Uses of LookupCache in tools.jackson.databind.introspect
Fields in tools.jackson.databind.introspect declared as LookupCacheModifier and TypeFieldDescriptionprotected LookupCache<String,
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 LookupCache in tools.jackson.databind.ser
Constructors in tools.jackson.databind.ser with parameters of type LookupCacheModifierConstructorDescription -
Uses of LookupCache in tools.jackson.databind.ser.impl
Methods in tools.jackson.databind.ser.impl with parameters of type LookupCacheModifier and TypeMethodDescriptionstatic ReadOnlyClassToSerializerMap
ReadOnlyClassToSerializerMap.from
(SerializerCache shared, LookupCache<TypeKey, ValueSerializer<Object>> src) Factory method for constructing an instance.Constructors in tools.jackson.databind.ser.impl with parameters of type LookupCacheModifierConstructorDescriptionprotected
ReadOnlyClassToSerializerMap
(SerializerCache shared, LookupCache<TypeKey, ValueSerializer<Object>> src) -
Uses of LookupCache in tools.jackson.databind.type
Fields in tools.jackson.databind.type declared as LookupCacheModifier and TypeFieldDescriptionprotected final LookupCache<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 tools.jackson.databind.type with parameters of type LookupCacheModifier and TypeMethodDescriptionTypeFactory.withCache
(LookupCache<Object, JavaType> cache) Mutant factory method that will construct newTypeFactory
with identical settings except for different cache.Constructors in tools.jackson.databind.type with parameters of type LookupCacheModifierConstructorDescriptionprotected
TypeFactory
(LookupCache<Object, JavaType> typeCache) protected
TypeFactory
(LookupCache<Object, JavaType> typeCache, TypeModifier[] mods, ClassLoader classLoader) -
Uses of LookupCache in tools.jackson.databind.util
Classes in tools.jackson.databind.util that implement LookupCacheModifier and TypeClassDescriptionclass
SimpleLookupCache<K,
V> Synchronized cache with bounded size: used for reusing lookup values and lazily instantiated reusable items.Fields in tools.jackson.databind.util declared as LookupCacheModifier and TypeFieldDescriptionprotected LookupCache<ClassKey,
PropertyName> RootNameLookup._rootNames
For efficient operation, let's try to minimize number of times we need to introspect root element name to use.Methods in tools.jackson.databind.util that return LookupCache