public enum RegistryType extends Enum<RegistryType>
| Enum Constant and Description |
|---|
Consul
Consul registry type
|
Custom
Custom registry type
|
Etcd3
Etcd3 registry type
|
Eureka
Eureka registry type.
|
File
File registry type.
|
Nacos
Nacos registry type.
|
Raft
Raft registry type.
|
Redis
Redis registry type.
|
Sofa
Sofa registry type
|
ZK
ZK registry type.
|
| Modifier and Type | Method and Description |
|---|---|
static RegistryType |
getType(String name)
Gets type.
|
static RegistryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegistryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegistryType File
public static final RegistryType Raft
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 - 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 nullpublic static RegistryType getType(String name)
name - the nameCopyright © 2023 Seata. All rights reserved.