com.signalfx.shaded.fasterxml.jackson.databind.cfg.CacheProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signalfx-codahale Show documentation
Show all versions of signalfx-codahale Show documentation
Dropwizard Codahale metrics plugin for signalfx
The newest version!
package com.signalfx.shaded.fasterxml.jackson.databind.cfg;
import com.signalfx.shaded.fasterxml.jackson.databind.*;
import com.signalfx.shaded.fasterxml.jackson.databind.deser.DeserializerCache;
import com.signalfx.shaded.fasterxml.jackson.databind.util.LookupCache;
import com.signalfx.shaded.fasterxml.jackson.databind.util.TypeKey;
/**
* Interface that defines API Jackson uses for constructing various internal
* caches. This allows configuring custom caches and cache configurations.
* A {@link CacheProvider} instance will be configured through a builder such as
* {@link com.signalfx.shaded.fasterxml.jackson.databind.json.JsonMapper.Builder#cacheProvider(CacheProvider)}
*
* @since 2.16
*/
public interface CacheProvider
extends java.io.Serializable
{
/**
* Method for constructing a {@link LookupCache} instance to be used by
* {@link DeserializerCache}.
*
* @return {@link LookupCache} instance for use by {@link DeserializerCache}.
*/
LookupCache> forDeserializerCache(DeserializationConfig config);
/**
* Method for constructing a {@link LookupCache} instance to be used by
* {@link com.signalfx.shaded.fasterxml.jackson.databind.ser.SerializerCache}.
*
* @return {@link LookupCache} instance for constructing {@link com.signalfx.shaded.fasterxml.jackson.databind.ser.SerializerCache}.
*/
LookupCache> forSerializerCache(SerializationConfig config);
/**
* Method for constructing a {@link LookupCache} instance to be used by
* {@link com.signalfx.shaded.fasterxml.jackson.databind.type.TypeFactory}.
*
* @return {@link LookupCache} instance for constructing {@link com.signalfx.shaded.fasterxml.jackson.databind.type.TypeFactory}.
*/
LookupCache
© 2015 - 2024 Weber Informatics LLC | Privacy Policy