public enum CompensationCacheTypeEnum extends Enum<CompensationCacheTypeEnum>
| 枚举常量和说明 |
|---|
DB
Db compensate cache type enum.
|
FILE
File compensate cache type enum.
|
MONGODB
Mongodb compensate cache type enum.
|
REDIS
Redis compensate cache type enum.
|
ZOOKEEPER
Zookeeper compensate cache type enum.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static CompensationCacheTypeEnum |
acquireCompensationCacheType(String compensationCacheType)
Acquire compensate cache type compensate cache type enum.
|
String |
getCompensationCacheType()
Gets compensate cache type.
|
void |
setCompensationCacheType(String compensationCacheType)
Sets compensate cache type.
|
static CompensationCacheTypeEnum |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CompensationCacheTypeEnum[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final CompensationCacheTypeEnum DB
public static final CompensationCacheTypeEnum FILE
public static final CompensationCacheTypeEnum REDIS
public static final CompensationCacheTypeEnum MONGODB
public static final CompensationCacheTypeEnum ZOOKEEPER
public static CompensationCacheTypeEnum[] values()
for (CompensationCacheTypeEnum c : CompensationCacheTypeEnum.values()) System.out.println(c);
public static CompensationCacheTypeEnum valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static CompensationCacheTypeEnum acquireCompensationCacheType(String compensationCacheType)
compensationCacheType - the compensate cache typepublic String getCompensationCacheType()
public void setCompensationCacheType(String compensationCacheType)
compensationCacheType - the compensate cache typeCopyright © 2019 dromara. All rights reserved.