- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultCacheProvider
Interface that defines API Jackson uses for constructing various internal
caches. This allows configuring custom caches and cache configurations.
A
CacheProvider
instance will be configured through a builder such as
MapperBuilder.cacheProvider(CacheProvider)
-
Method Summary
Modifier and TypeMethodDescriptionMethod to provide aLookupCache
instance for constructingDeserializerCache
.Method to provide aLookupCache
instance for constructingSerializerCache
.Method to provide aLookupCache
instance for constructingTypeFactory
.
-
Method Details
-
forDeserializerCache
Method to provide aLookupCache
instance for constructingDeserializerCache
.- Returns:
LookupCache
instance for constructingDeserializerCache
.
-
forSerializerCache
Method to provide aLookupCache
instance for constructingSerializerCache
.- Returns:
LookupCache
instance for constructingSerializerCache
.
-
forTypeFactory
LookupCache<Object,JavaType> forTypeFactory()Method to provide aLookupCache
instance for constructingTypeFactory
.- Returns:
LookupCache
instance for constructingTypeFactory
.
-