APISonar


org.springframework.data.redis.serializer.RedisSerializer.java

> org > springframework > data > redis > serializer > RedisSerializer > java
org APIs springframework APIs data APIs redis APIs serializer APIs RedisSerializer APIs java APIs

Example 1
public static RedisCacheConfiguration defaultCacheConfig(@Nullable ClassLoader classLoader) {

		DefaultFormattingConversionService conversionService = new DefaultFormattingConversionService();

		registerDefaultConverters(conversionService);

		return new RedisCacheConfiguration(Duration.ZERO, true, true, CacheKeyPrefix.simple(),
				SerializationPair.fromSerializer(RedisSerializer.string()),
				SerializationPair.fromSerializer(RedisSerializer.java(classLoader)), conversionService);
	}