程序包 | 说明 |
---|---|
wang.bigbird.domain.framework.cache | |
wang.bigbird.domain.framework.cache.support.caffeine | |
wang.bigbird.domain.framework.cache.support.redission |
限定符和类型 | 方法和说明 |
---|---|
CustomizedCaffeineCacheManager |
CacheConfiguration.caffeineCacheManager(CacheProperties cacheProperties)
使用 Caffeine 作为缓存中间件
|
CustomizedRedissonSpringCacheManager |
CacheConfiguration.redissonCacheManager(org.redisson.api.RedissonClient redissonClient,
CacheProperties cacheProperties)
如果需要使用 redis 作为缓存中间件
需要引入 bigbird-framework-data-redis,或者自己注册 redissonClient
|
构造器和说明 |
---|
CustomizedCaffeineCacheManager(CacheProperties cacheProperties) |
构造器和说明 |
---|
CustomizedRedissonSpringCacheManager(org.redisson.api.RedissonClient redisson,
CacheProperties config,
org.redisson.client.codec.Codec codec) |