https://github.com/linux-china/spring-boot-starter-redisson
Spring Boot starter for Redisson
https://github.com/linux-china/spring-boot-starter-redisson
Last synced: about 1 year ago
JSON representation
Spring Boot starter for Redisson
- Host: GitHub
- URL: https://github.com/linux-china/spring-boot-starter-redisson
- Owner: linux-china
- Created: 2015-12-16T03:57:51.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-07-23T02:49:57.000Z (almost 9 years ago)
- Last Synced: 2025-04-02T02:51:14.439Z (over 1 year ago)
- Language: Java
- Size: 17.6 KB
- Stars: 60
- Watchers: 6
- Forks: 28
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Spring Boot Starter Redisson
============================
[](https://jitpack.io/#linux-china/spring-boot-starter-redisson)
在Spring Boot下整合Redisson,方便客户端使用.
### 如何使用
Please refer https://jitpack.io/#linux-china/spring-boot-starter-redisson/3.3.2
* 在spring-boot-starter-redisson是依赖spring-boot-starter-data-redis的配置,所以你只需要加入spring boot redis的相关配置即可,如下:
```properties
spring.redis.host=localhost
```
* 接下来在你的代码中直接应用RedissonClient,然后就可以啦。
```
@Autowired
private RedissonClient redissonClient;
```
### spring-boot-start-hibernate5提供的服务
* org.redisson.RedissonClient: Redisson Client
### 参考文档
* Redisson Site: http://redisson.org/
* Redisson github: https://github.com/mrniko/redisson/wiki/Usage-examples
* Chinese document: https://github.com/redisson/redisson/wiki/%E7%9B%AE%E5%BD%95