public static enum DeadlockOuterClass.DeadlockRequestType extends Enum<DeadlockOuterClass.DeadlockRequestType> implements com.google.protobuf.ProtocolMessageEnum
deadlock.DeadlockRequestType| Enum Constant and Description |
|---|
CleanUp
CleanUp cleans all entries the transaction is waiting.
|
CleanUpWaitFor
CleanUpWaitFor cleans a single entry the transaction is waiting.
|
Detect
Detect = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CleanUp_VALUE
CleanUp cleans all entries the transaction is waiting.
|
static int |
CleanUpWaitFor_VALUE
CleanUpWaitFor cleans a single entry the transaction is waiting.
|
static int |
Detect_VALUE
Detect = 0; |
| Modifier and Type | Method and Description |
|---|---|
static DeadlockOuterClass.DeadlockRequestType |
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<DeadlockOuterClass.DeadlockRequestType> |
internalGetValueMap() |
static DeadlockOuterClass.DeadlockRequestType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DeadlockOuterClass.DeadlockRequestType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DeadlockOuterClass.DeadlockRequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeadlockOuterClass.DeadlockRequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeadlockOuterClass.DeadlockRequestType Detect
Detect = 0;public static final DeadlockOuterClass.DeadlockRequestType CleanUpWaitFor
CleanUpWaitFor cleans a single entry the transaction is waiting.
CleanUpWaitFor = 1;public static final DeadlockOuterClass.DeadlockRequestType CleanUp
CleanUp cleans all entries the transaction is waiting.
CleanUp = 2;public static final DeadlockOuterClass.DeadlockRequestType UNRECOGNIZED
public static final int Detect_VALUE
Detect = 0;public static final int CleanUpWaitFor_VALUE
CleanUpWaitFor cleans a single entry the transaction is waiting.
CleanUpWaitFor = 1;public static final int CleanUp_VALUE
CleanUp cleans all entries the transaction is waiting.
CleanUp = 2;public static DeadlockOuterClass.DeadlockRequestType[] values()
for (DeadlockOuterClass.DeadlockRequestType c : DeadlockOuterClass.DeadlockRequestType.values()) System.out.println(c);
public static DeadlockOuterClass.DeadlockRequestType 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 final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static DeadlockOuterClass.DeadlockRequestType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DeadlockOuterClass.DeadlockRequestType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DeadlockOuterClass.DeadlockRequestType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static DeadlockOuterClass.DeadlockRequestType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 PingCAP. All rights reserved.