Enum AdminMessageType
- java.lang.Object
-
- java.lang.Enum<AdminMessageType>
-
- com.linkedin.venice.controller.kafka.protocol.enums.AdminMessageType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AdminMessageType>
public enum AdminMessageType extends java.lang.Enum<AdminMessageType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getNewInstance()
int
getValue()
boolean
isBatchUpdate()
static AdminMessageType
valueOf(AdminOperation adminMessage)
Returns the enum constant of this type with the specified name.static AdminMessageType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AdminMessageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STORE_CREATION
public static final AdminMessageType STORE_CREATION
-
VALUE_SCHEMA_CREATION
public static final AdminMessageType VALUE_SCHEMA_CREATION
-
DISABLE_STORE_WRITE
public static final AdminMessageType DISABLE_STORE_WRITE
-
ENABLE_STORE_WRITE
public static final AdminMessageType ENABLE_STORE_WRITE
-
KILL_OFFLINE_PUSH_JOB
public static final AdminMessageType KILL_OFFLINE_PUSH_JOB
-
DISABLE_STORE_READ
public static final AdminMessageType DISABLE_STORE_READ
-
ENABLE_STORE_READ
public static final AdminMessageType ENABLE_STORE_READ
-
DELETE_ALL_VERSIONS
public static final AdminMessageType DELETE_ALL_VERSIONS
-
SET_STORE_OWNER
public static final AdminMessageType SET_STORE_OWNER
-
SET_STORE_PARTITION
public static final AdminMessageType SET_STORE_PARTITION
-
SET_STORE_CURRENT_VERSION
public static final AdminMessageType SET_STORE_CURRENT_VERSION
-
UPDATE_STORE
public static final AdminMessageType UPDATE_STORE
-
DELETE_STORE
public static final AdminMessageType DELETE_STORE
-
DELETE_OLD_VERSION
public static final AdminMessageType DELETE_OLD_VERSION
-
MIGRATE_STORE
public static final AdminMessageType MIGRATE_STORE
-
ABORT_MIGRATION
public static final AdminMessageType ABORT_MIGRATION
-
ADD_VERSION
public static final AdminMessageType ADD_VERSION
-
DERIVED_SCHEMA_CREATION
public static final AdminMessageType DERIVED_SCHEMA_CREATION
-
SUPERSET_SCHEMA_CREATION
public static final AdminMessageType SUPERSET_SCHEMA_CREATION
-
CONFIGURE_NATIVE_REPLICATION_FOR_CLUSTER
public static final AdminMessageType CONFIGURE_NATIVE_REPLICATION_FOR_CLUSTER
-
REPLICATION_METADATA_SCHEMA_CREATION
public static final AdminMessageType REPLICATION_METADATA_SCHEMA_CREATION
-
CONFIGURE_ACTIVE_ACTIVE_REPLICATION_FOR_CLUSTER
public static final AdminMessageType CONFIGURE_ACTIVE_ACTIVE_REPLICATION_FOR_CLUSTER
-
CONFIGURE_INCREMENTAL_PUSH_FOR_CLUSTER
@Deprecated public static final AdminMessageType CONFIGURE_INCREMENTAL_PUSH_FOR_CLUSTER
Deprecated.We do not support incremental push policy anymore.
-
META_SYSTEM_STORE_AUTO_CREATION_VALIDATION
public static final AdminMessageType META_SYSTEM_STORE_AUTO_CREATION_VALIDATION
-
PUSH_STATUS_SYSTEM_STORE_AUTO_CREATION_VALIDATION
public static final AdminMessageType PUSH_STATUS_SYSTEM_STORE_AUTO_CREATION_VALIDATION
-
CREATE_STORAGE_PERSONA
public static final AdminMessageType CREATE_STORAGE_PERSONA
-
DELETE_STORAGE_PERSONA
public static final AdminMessageType DELETE_STORAGE_PERSONA
-
UPDATE_STORAGE_PERSONA
public static final AdminMessageType UPDATE_STORAGE_PERSONA
-
DELETE_UNUSED_VALUE_SCHEMA
public static final AdminMessageType DELETE_UNUSED_VALUE_SCHEMA
-
ROLLBACK_CURRENT_VERSION
public static final AdminMessageType ROLLBACK_CURRENT_VERSION
-
ROLLFORWARD_CURRENT_VERSION
public static final AdminMessageType ROLLFORWARD_CURRENT_VERSION
-
-
Method Detail
-
values
public static AdminMessageType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AdminMessageType c : AdminMessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdminMessageType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getNewInstance
public java.lang.Object getNewInstance()
-
valueOf
public static AdminMessageType valueOf(AdminOperation adminMessage)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
adminMessage
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue()
-
isBatchUpdate
public boolean isBatchUpdate()
-
-