public static enum RepairMessage.Type extends java.lang.Enum<RepairMessage.Type>
Enum Constant and Description |
---|
ANTICOMPACTION_REQUEST |
CLEANUP |
PREPARE_MESSAGE |
SNAPSHOT |
SYNC_COMPLETE |
SYNC_REQUEST |
VALIDATION_COMPLETE |
VALIDATION_REQUEST |
Modifier and Type | Method and Description |
---|---|
static RepairMessage.Type |
fromByte(byte b) |
static RepairMessage.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RepairMessage.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepairMessage.Type VALIDATION_REQUEST
public static final RepairMessage.Type VALIDATION_COMPLETE
public static final RepairMessage.Type SYNC_REQUEST
public static final RepairMessage.Type SYNC_COMPLETE
public static final RepairMessage.Type ANTICOMPACTION_REQUEST
public static final RepairMessage.Type PREPARE_MESSAGE
public static final RepairMessage.Type SNAPSHOT
public static final RepairMessage.Type CLEANUP
public static RepairMessage.Type[] values()
for (RepairMessage.Type c : RepairMessage.Type.values()) System.out.println(c);
public static RepairMessage.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static RepairMessage.Type fromByte(byte b)
Copyright © 2018 The Apache Software Foundation