public enum StrategyType extends Enum<StrategyType>
| 枚举常量和说明 |
|---|
ALL_ASYNC_RETRY |
ASYNC_RETRY |
CONTEND |
SYNC_RETRY |
TRANSACTION_CONTEND |
USUAL |
public static final StrategyType USUAL
public static final StrategyType CONTEND
public static final StrategyType TRANSACTION_CONTEND
public static final StrategyType SYNC_RETRY
public static final StrategyType ASYNC_RETRY
public static final StrategyType ALL_ASYNC_RETRY
public static StrategyType[] values()
for (StrategyType c : StrategyType.values()) System.out.println(c);
public static StrategyType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2018. All rights reserved.