public static enum ListenerConf.HaType extends Enum<ListenerConf.HaType> implements com.google.protobuf.ProtocolMessageEnum
启动类型*Protobuf enum
net.wicp.tams.common.binlog.alone.HaType| 枚举常量和说明 |
|---|
cur
当前数据库最新位点*
cur = 0; |
last
存储的最大位点*
last = 1; |
pos
指定的位点(一般是gtid)*
pos = 2; |
UNRECOGNIZED |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
cur_VALUE
当前数据库最新位点*
cur = 0; |
static int |
last_VALUE
存储的最大位点*
last = 1; |
static int |
pos_VALUE
指定的位点(一般是gtid)*
pos = 2; |
| 限定符和类型 | 方法和说明 |
|---|---|
static ListenerConf.HaType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ListenerConf.HaType> |
internalGetValueMap() |
static ListenerConf.HaType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ListenerConf.HaType |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static ListenerConf.HaType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ListenerConf.HaType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ListenerConf.HaType cur
当前数据库最新位点*
cur = 0;public static final ListenerConf.HaType last
存储的最大位点*
last = 1;public static final ListenerConf.HaType pos
指定的位点(一般是gtid)*
pos = 2;public static final ListenerConf.HaType UNRECOGNIZED
public static final int cur_VALUE
当前数据库最新位点*
cur = 0;public static final int last_VALUE
存储的最大位点*
last = 1;public static final int pos_VALUE
指定的位点(一般是gtid)*
pos = 2;public static ListenerConf.HaType[] values()
for (ListenerConf.HaType c : ListenerConf.HaType.values()) System.out.println(c);
public static ListenerConf.HaType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static ListenerConf.HaType valueOf(int value)
forNumber(int) instead.public static ListenerConf.HaType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ListenerConf.HaType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ListenerConf.HaType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022–2023. All rights reserved.