Uses of Interface
org.ehcache.spi.serialization.Serializer
Packages that use Serializer
Package
Description
CacheManager configuration,
Cache configuration and other configuration classes.Copier SPI in Ehcache.Serializer SPI in Ehcache.-
Uses of Serializer in org.ehcache.config
Methods in org.ehcache.config with parameters of type SerializerModifier and TypeMethodDescriptionFluentCacheConfigurationBuilder.withKeySerializer(Serializer<K> keySerializer) Sets theSerializerfor cache keys in the returned builder.FluentCacheConfigurationBuilder.withValueSerializer(Serializer<V> valueSerializer) Sets theSerializerfor cache values in the returned builder.Method parameters in org.ehcache.config with type arguments of type SerializerModifier and TypeMethodDescriptionFluentCacheConfigurationBuilder.withKeySerializer(Class<? extends Serializer<K>> keySerializerClass) Sets theSerializerclass for cache keys in the returned builder.FluentCacheConfigurationBuilder.withValueSerializer(Class<? extends Serializer<V>> valueSerializerClass) Sets theSerializerclass for cache values in the returned builder. -
Uses of Serializer in org.ehcache.spi.copy
Methods in org.ehcache.spi.copy with parameters of type SerializerModifier and TypeMethodDescription<T> Copier<T> CopyProvider.createKeyCopier(Class<T> clazz, Serializer<T> serializer, ServiceConfiguration<?, ?>... configs) Creates a keyCopierwith the given parameters.<T> Copier<T> CopyProvider.createValueCopier(Class<T> clazz, Serializer<T> serializer, ServiceConfiguration<?, ?>... configs) Creates a valueCopierwith the given parameters. -
Uses of Serializer in org.ehcache.spi.serialization
Subinterfaces of Serializer in org.ehcache.spi.serializationModifier and TypeInterfaceDescriptioninterfaceImplementations of this interface can have their state maintained in aStateRepository.Methods in org.ehcache.spi.serialization that return SerializerModifier and TypeMethodDescription<T> Serializer<T> SerializationProvider.createKeySerializer(Class<T> clazz, ClassLoader classLoader, ServiceConfiguration<?, ?>... configs) Creates a keySerializerwith the given parameters.<T> Serializer<T> SerializationProvider.createValueSerializer(Class<T> clazz, ClassLoader classLoader, ServiceConfiguration<?, ?>... configs) Creates a valueSerializerwith the given parameters.Methods in org.ehcache.spi.serialization with parameters of type SerializerModifier and TypeMethodDescriptionvoidSerializationProvider.releaseSerializer(Serializer<?> serializer) Releases the givenSerializerinstance.