public static enum Builder.Type extends Enum<Builder.Type>
| Enum Constant and Description |
|---|
CUSTOM
自定义缓存
|
DEFAULT
使用内置的缓存
|
REDIS
使用Redis缓存
|
| Modifier and Type | Method and Description |
|---|---|
static Builder.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Builder.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Builder.Type DEFAULT
public static final Builder.Type REDIS
public static final Builder.Type CUSTOM
public static Builder.Type[] values()
for (Builder.Type c : Builder.Type.values()) System.out.println(c);
public static Builder.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.