Enum ControllerRoute
- java.lang.Object
-
- java.lang.Enum<ControllerRoute>
-
- com.linkedin.venice.controllerapi.ControllerRoute
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ControllerRoute>
public enum ControllerRoute extends java.lang.Enum<ControllerRoute>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpMethod
getHttpMethod()
java.util.List<java.lang.String>
getOptionalParams()
java.util.List<java.lang.String>
getParams()
java.lang.String
getPath()
boolean
pathEquals(java.lang.String uri)
static ControllerRoute
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ControllerRoute
valueOfPath(java.lang.String path)
static ControllerRoute[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUEST_TOPIC
public static final ControllerRoute REQUEST_TOPIC
-
EMPTY_PUSH
public static final ControllerRoute EMPTY_PUSH
-
END_OF_PUSH
public static final ControllerRoute END_OF_PUSH
-
STORE
public static final ControllerRoute STORE
-
NEW_STORE
public static final ControllerRoute NEW_STORE
-
CHECK_RESOURCE_CLEANUP_FOR_STORE_CREATION
public static final ControllerRoute CHECK_RESOURCE_CLEANUP_FOR_STORE_CREATION
-
STORE_MIGRATION_ALLOWED
public static final ControllerRoute STORE_MIGRATION_ALLOWED
-
MIGRATE_STORE
public static final ControllerRoute MIGRATE_STORE
-
COMPLETE_MIGRATION
public static final ControllerRoute COMPLETE_MIGRATION
-
ABORT_MIGRATION
public static final ControllerRoute ABORT_MIGRATION
-
DELETE_STORE
public static final ControllerRoute DELETE_STORE
-
UPDATE_STORE
public static final ControllerRoute UPDATE_STORE
-
SET_VERSION
public static final ControllerRoute SET_VERSION
-
ROLLBACK_TO_BACKUP_VERSION
public static final ControllerRoute ROLLBACK_TO_BACKUP_VERSION
-
AGGREGATED_HEALTH_STATUS
public static final ControllerRoute AGGREGATED_HEALTH_STATUS
-
ROLL_FORWARD_TO_FUTURE_VERSION
public static final ControllerRoute ROLL_FORWARD_TO_FUTURE_VERSION
-
ENABLE_STORE
public static final ControllerRoute ENABLE_STORE
-
DELETE_ALL_VERSIONS
public static final ControllerRoute DELETE_ALL_VERSIONS
-
DELETE_OLD_VERSION
public static final ControllerRoute DELETE_OLD_VERSION
-
UPDATE_CLUSTER_CONFIG
public static final ControllerRoute UPDATE_CLUSTER_CONFIG
-
JOB
public static final ControllerRoute JOB
-
KILL_OFFLINE_PUSH_JOB
public static final ControllerRoute KILL_OFFLINE_PUSH_JOB
-
LIST_STORES
public static final ControllerRoute LIST_STORES
-
LIST_CHILD_CLUSTERS
public static final ControllerRoute LIST_CHILD_CLUSTERS
-
LIST_NODES
public static final ControllerRoute LIST_NODES
-
CLUSTER_HEALTH_STORES
public static final ControllerRoute CLUSTER_HEALTH_STORES
-
ClUSTER_HEALTH_INSTANCES
public static final ControllerRoute ClUSTER_HEALTH_INSTANCES
-
LIST_REPLICAS
public static final ControllerRoute LIST_REPLICAS
-
NODE_REPLICAS
public static final ControllerRoute NODE_REPLICAS
-
NODE_REMOVABLE
public static final ControllerRoute NODE_REMOVABLE
-
NODE_REPLICAS_READINESS
public static final ControllerRoute NODE_REPLICAS_READINESS
-
ALLOW_LIST_ADD_NODE
public static final ControllerRoute ALLOW_LIST_ADD_NODE
-
ALLOW_LIST_REMOVE_NODE
public static final ControllerRoute ALLOW_LIST_REMOVE_NODE
-
REMOVE_NODE
public static final ControllerRoute REMOVE_NODE
-
SKIP_ADMIN
public static final ControllerRoute SKIP_ADMIN
-
GET_KEY_SCHEMA
public static final ControllerRoute GET_KEY_SCHEMA
-
ADD_VALUE_SCHEMA
public static final ControllerRoute ADD_VALUE_SCHEMA
-
ADD_DERIVED_SCHEMA
public static final ControllerRoute ADD_DERIVED_SCHEMA
-
SET_OWNER
public static final ControllerRoute SET_OWNER
-
SET_PARTITION_COUNT
public static final ControllerRoute SET_PARTITION_COUNT
-
GET_ALL_VALUE_SCHEMA
public static final ControllerRoute GET_ALL_VALUE_SCHEMA
-
GET_ALL_VALUE_AND_DERIVED_SCHEMA
public static final ControllerRoute GET_ALL_VALUE_AND_DERIVED_SCHEMA
-
GET_VALUE_SCHEMA
public static final ControllerRoute GET_VALUE_SCHEMA
-
GET_VALUE_SCHEMA_ID
public static final ControllerRoute GET_VALUE_SCHEMA_ID
-
GET_VALUE_OR_DERIVED_SCHEMA_ID
public static final ControllerRoute GET_VALUE_OR_DERIVED_SCHEMA_ID
-
REMOVE_DERIVED_SCHEMA
public static final ControllerRoute REMOVE_DERIVED_SCHEMA
-
MASTER_CONTROLLER
@Deprecated public static final ControllerRoute MASTER_CONTROLLER
Deprecated.
-
LEADER_CONTROLLER
public static final ControllerRoute LEADER_CONTROLLER
-
EXECUTION
public static final ControllerRoute EXECUTION
-
LAST_SUCCEED_EXECUTION_ID
public static final ControllerRoute LAST_SUCCEED_EXECUTION_ID
-
STORAGE_ENGINE_OVERHEAD_RATIO
public static final ControllerRoute STORAGE_ENGINE_OVERHEAD_RATIO
-
ENABLE_THROTTLING
public static final ControllerRoute ENABLE_THROTTLING
-
ENABLE_MAX_CAPACITY_PROTECTION
public static final ControllerRoute ENABLE_MAX_CAPACITY_PROTECTION
-
ENABLE_QUOTA_REBALANCED
public static final ControllerRoute ENABLE_QUOTA_REBALANCED
-
GET_ROUTERS_CLUSTER_CONFIG
public static final ControllerRoute GET_ROUTERS_CLUSTER_CONFIG
-
GET_ALL_MIGRATION_PUSH_STRATEGIES
public static final ControllerRoute GET_ALL_MIGRATION_PUSH_STRATEGIES
-
SET_MIGRATION_PUSH_STRATEGY
public static final ControllerRoute SET_MIGRATION_PUSH_STRATEGY
-
CLUSTER_DISCOVERY
public static final ControllerRoute CLUSTER_DISCOVERY
-
LIST_BOOTSTRAPPING_VERSIONS
public static final ControllerRoute LIST_BOOTSTRAPPING_VERSIONS
-
OFFLINE_PUSH_INFO
public static final ControllerRoute OFFLINE_PUSH_INFO
-
UPLOAD_PUSH_JOB_STATUS
public static final ControllerRoute UPLOAD_PUSH_JOB_STATUS
-
SEND_PUSH_JOB_DETAILS
public static final ControllerRoute SEND_PUSH_JOB_DETAILS
-
SEND_HEARTBEAT_TIMESTAMP_TO_SYSTEM_STORE
public static final ControllerRoute SEND_HEARTBEAT_TIMESTAMP_TO_SYSTEM_STORE
-
GET_HEARTBEAT_TIMESTAMP_FROM_SYSTEM_STORE
public static final ControllerRoute GET_HEARTBEAT_TIMESTAMP_FROM_SYSTEM_STORE
-
ADD_VERSION
public static final ControllerRoute ADD_VERSION
-
FUTURE_VERSION
public static final ControllerRoute FUTURE_VERSION
-
BACKUP_VERSION
public static final ControllerRoute BACKUP_VERSION
-
SET_TOPIC_COMPACTION
public static final ControllerRoute SET_TOPIC_COMPACTION
-
UPDATE_ACL
public static final ControllerRoute UPDATE_ACL
-
GET_ACL
public static final ControllerRoute GET_ACL
-
DELETE_ACL
public static final ControllerRoute DELETE_ACL
-
CONFIGURE_ACTIVE_ACTIVE_REPLICATION_FOR_CLUSTER
public static final ControllerRoute CONFIGURE_ACTIVE_ACTIVE_REPLICATION_FOR_CLUSTER
-
GET_DELETABLE_STORE_TOPICS
public static final ControllerRoute GET_DELETABLE_STORE_TOPICS
-
GET_ALL_REPLICATION_METADATA_SCHEMAS
public static final ControllerRoute GET_ALL_REPLICATION_METADATA_SCHEMAS
-
GET_ONGOING_INCREMENTAL_PUSH_VERSIONS
public static final ControllerRoute GET_ONGOING_INCREMENTAL_PUSH_VERSIONS
-
GET_REPUSH_INFO
public static final ControllerRoute GET_REPUSH_INFO
-
WIPE_CLUSTER
public static final ControllerRoute WIPE_CLUSTER
-
COMPARE_STORE
public static final ControllerRoute COMPARE_STORE
-
REPLICATE_META_DATA
public static final ControllerRoute REPLICATE_META_DATA
-
DATA_RECOVERY
public static final ControllerRoute DATA_RECOVERY
-
PREPARE_DATA_RECOVERY
public static final ControllerRoute PREPARE_DATA_RECOVERY
-
IS_STORE_VERSION_READY_FOR_DATA_RECOVERY
public static final ControllerRoute IS_STORE_VERSION_READY_FOR_DATA_RECOVERY
-
GET_STALE_STORES_IN_CLUSTER
public static final ControllerRoute GET_STALE_STORES_IN_CLUSTER
-
GET_STORES_IN_CLUSTER
public static final ControllerRoute GET_STORES_IN_CLUSTER
-
GET_STORE_LARGEST_USED_VERSION
public static final ControllerRoute GET_STORE_LARGEST_USED_VERSION
-
LIST_STORE_PUSH_INFO
public static final ControllerRoute LIST_STORE_PUSH_INFO
-
GET_REGION_PUSH_DETAILS
public static final ControllerRoute GET_REGION_PUSH_DETAILS
-
GET_KAFKA_TOPIC_CONFIGS
public static final ControllerRoute GET_KAFKA_TOPIC_CONFIGS
-
UPDATE_KAFKA_TOPIC_LOG_COMPACTION
public static final ControllerRoute UPDATE_KAFKA_TOPIC_LOG_COMPACTION
-
UPDATE_KAFKA_TOPIC_RETENTION
public static final ControllerRoute UPDATE_KAFKA_TOPIC_RETENTION
-
UPDATE_KAFKA_TOPIC_MIN_IN_SYNC_REPLICA
public static final ControllerRoute UPDATE_KAFKA_TOPIC_MIN_IN_SYNC_REPLICA
-
GET_ADMIN_TOPIC_METADATA
public static final ControllerRoute GET_ADMIN_TOPIC_METADATA
-
UPDATE_ADMIN_TOPIC_METADATA
public static final ControllerRoute UPDATE_ADMIN_TOPIC_METADATA
-
DELETE_KAFKA_TOPIC
public static final ControllerRoute DELETE_KAFKA_TOPIC
-
CREATE_STORAGE_PERSONA
public static final ControllerRoute CREATE_STORAGE_PERSONA
-
GET_STORAGE_PERSONA
public static final ControllerRoute GET_STORAGE_PERSONA
-
DELETE_STORAGE_PERSONA
public static final ControllerRoute DELETE_STORAGE_PERSONA
-
UPDATE_STORAGE_PERSONA
public static final ControllerRoute UPDATE_STORAGE_PERSONA
-
GET_STORAGE_PERSONA_ASSOCIATED_WITH_STORE
public static final ControllerRoute GET_STORAGE_PERSONA_ASSOCIATED_WITH_STORE
-
GET_CLUSTER_STORAGE_PERSONAS
public static final ControllerRoute GET_CLUSTER_STORAGE_PERSONAS
-
CLEANUP_INSTANCE_CUSTOMIZED_STATES
public static final ControllerRoute CLEANUP_INSTANCE_CUSTOMIZED_STATES
-
REMOVE_STORE_FROM_GRAVEYARD
public static final ControllerRoute REMOVE_STORE_FROM_GRAVEYARD
-
DELETE_UNUSED_VALUE_SCHEMAS
public static final ControllerRoute DELETE_UNUSED_VALUE_SCHEMAS
-
GET_INUSE_SCHEMA_IDS
public static final ControllerRoute GET_INUSE_SCHEMA_IDS
-
-
Method Detail
-
values
public static ControllerRoute[] 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 (ControllerRoute c : ControllerRoute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ControllerRoute 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
-
getPath
public java.lang.String getPath()
-
valueOfPath
public static ControllerRoute valueOfPath(java.lang.String path)
-
pathEquals
public boolean pathEquals(java.lang.String uri)
-
getHttpMethod
public HttpMethod getHttpMethod()
-
getParams
public java.util.List<java.lang.String> getParams()
-
getOptionalParams
public java.util.List<java.lang.String> getOptionalParams()
-
-