redis序列化器的性能比较测试
/*springboot-version 2.4.4 */
@SpringBootTest
public class MybatiscacheApplicationTests {
//注意stringRedisTemplate是api存储的值,不能使用redisTemplate的api取值
//除非指定了 redisTemplate.setKeySerializer(new StringRedisSerializer());
@Autowired
private Str
原创
2021-04-13 15:27:35 ·
645 阅读 ·
0 评论