public enum StorageType extends Enum<StorageType>
| 枚举常量和说明 |
|---|
Jedis
redis(JedisClient)
|
Memory
内存
|
Redisson
redis(Redisson)
|
RedisTemplate
redis(RedisTemplate)
|
public static final StorageType Memory
public static final StorageType Jedis
public static final StorageType Redisson
public static final StorageType RedisTemplate
public static StorageType[] values()
for (StorageType c : StorageType.values()) System.out.println(c);
public static StorageType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2025. All rights reserved.