- 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 aLookupCacheinstance for constructingDeserializerCache.Method to provide aLookupCacheinstance for constructingSerializerCache.Method to provide aLookupCacheinstance for constructingTypeFactory.
-
Method Details
-
forDeserializerCache
Method to provide aLookupCacheinstance for constructingDeserializerCache.- Returns:
LookupCacheinstance for constructingDeserializerCache.
-
forSerializerCache
Method to provide aLookupCacheinstance for constructingSerializerCache.- Returns:
LookupCacheinstance for constructingSerializerCache.
-
forTypeFactory
LookupCache<Object,JavaType> forTypeFactory()Method to provide aLookupCacheinstance for constructingTypeFactory.- Returns:
LookupCacheinstance for constructingTypeFactory.
-