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 aLookupCacheinstance for constructingDeserializerCache.DefaultCacheProvider.forDeserializerCache(DeserializationConfig config) Method to provide aLookupCacheinstance for constructingDeserializerCache.CacheProvider.forSerializerCache(SerializationConfig config) Method to provide aLookupCacheinstance for constructingSerializerCache.DefaultCacheProvider.forSerializerCache(SerializationConfig config) CacheProvider.forTypeFactory()Method to provide aLookupCacheinstance 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._annotationsInsideSince 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 ReadOnlyClassToSerializerMapReadOnlyClassToSerializerMap.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 LookupCacheModifierConstructorDescriptionprotectedReadOnlyClassToSerializerMap(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._typeCacheSince 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 newTypeFactorywith identical settings except for different cache.Constructors in tools.jackson.databind.type with parameters of type LookupCacheModifierConstructorDescriptionprotectedTypeFactory(LookupCache<Object, JavaType> typeCache) protectedTypeFactory(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 TypeClassDescriptionclassSimpleLookupCache<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._rootNamesFor 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