commit:集成Minio

This commit is contained in:
Jerry
2020-10-19 22:53:01 +08:00
parent c7bb5fd289
commit dc3a8ecfac
521 changed files with 6373 additions and 5339 deletions

View File

@@ -21,7 +21,7 @@ import java.util.stream.Collectors;
* @param <K> 字典表主键类型。
* @param <V> 字典表对象类型。
* @author Jerry
* @date 2020-09-27
* @date 2020-10-19
*/
@Slf4j
public class RedisDictionaryCache<K, V> implements DictionaryCache<K, V> {

View File

@@ -21,7 +21,7 @@ import java.util.stream.Collectors;
* @param <K> 字典表主键类型。
* @param <V> 字典表对象类型。
* @author Jerry
* @date 2020-09-27
* @date 2020-10-19
*/
@Slf4j
public class RedisTreeDictionaryCache<K, V> extends RedisDictionaryCache<K, V> {

View File

@@ -15,7 +15,7 @@ import java.util.Map;
* 使用Redisson作为Redis的分布式缓存库。
*
* @author Jerry
* @date 2020-09-27
* @date 2020-10-19
*/
@Configuration
@EnableCaching

View File

@@ -13,7 +13,7 @@ import java.util.Set;
* Session数据缓存辅助类。
*
* @author Jerry
* @date 2020-09-27
* @date 2020-10-19
*/
@SuppressWarnings("unchecked")
@Component

View File

@@ -11,7 +11,7 @@ import redis.clients.jedis.JedisPoolConfig;
* Redis配置类。
*
* @author Jerry
* @date 2020-09-27
* @date 2020-10-19
*/
@Configuration
@ConditionalOnProperty(name = "redis.jedis.enabled", havingValue = "true")

View File

@@ -13,7 +13,7 @@ import org.springframework.context.annotation.Configuration;
* 这里我们只是使用了Redisson的分布式锁以及map等数据结构作为字典缓存使用。更多用法请参考其文档。
*
* @author Jerry
* @date 2020-09-27
* @date 2020-10-19
*/
@Configuration
@ConditionalOnProperty(name = "redis.redisson.enabled", havingValue = "true")