public enum RegistryType extends Enum<RegistryType>
| 枚举常量和说明 |
|---|
Consul
Consul registry type
|
Custom
Custom registry type
|
Etcd3
Etcd3 registry type
|
Eureka
Eureka registry type.
|
File
File registry type.
|
Nacos
Nacos registry type.
|
Redis
Redis registry type.
|
Sofa
Sofa registry type
|
ZK
ZK registry type.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static RegistryType |
getType(String name)
Gets type.
|
static RegistryType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static RegistryType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final RegistryType File
public static final RegistryType ZK
public static final RegistryType Redis
public static final RegistryType Nacos
public static final RegistryType Eureka
public static final RegistryType Consul
public static final RegistryType Etcd3
public static final RegistryType Sofa
public static final RegistryType Custom
public static RegistryType[] values()
for (RegistryType c : RegistryType.values()) System.out.println(c);
public static RegistryType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static RegistryType getType(String name)
name - the nameCopyright © 2020 Seata. All rights reserved.