使用Spring Data + Redis实现缓存
首先,我们给一个服务配置Cache,如下:
@Service('helloService')
public class HelloServiceImpl implements HelloService {
/**
* Using SpEL for conditional caching - only cache method executions when
* th...
原创
2019-02-19 16:22:49 ·
373 阅读 ·
0 评论