Package alluxio.conf
Enum PropertyKey.Template
- java.lang.Object
-
- java.lang.Enum<PropertyKey.Template>
-
- alluxio.conf.PropertyKey.Template
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PropertyKey.Template>
- Enclosing class:
- PropertyKey
@ThreadSafe public static enum PropertyKey.Template extends java.lang.Enum<PropertyKey.Template>
A set of templates to generate the names of parameterized properties given different parameters. E.g., *Template.MASTER_TIERED_STORE_GLOBAL_LEVEL_ALIAS.format(0)
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyKey
format(java.lang.Object... params)
Converts a property key template (e.g.,WORKER_TIERED_STORE_LEVEL_ALIAS
) to aPropertyKey
instance.java.util.regex.Matcher
match(java.lang.String input)
boolean
matches(java.lang.String input)
java.lang.String
toString()
static PropertyKey.Template
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PropertyKey.Template[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCALITY_TIER
public static final PropertyKey.Template LOCALITY_TIER
-
MASTER_IMPERSONATION_GROUPS_OPTION
public static final PropertyKey.Template MASTER_IMPERSONATION_GROUPS_OPTION
-
MASTER_IMPERSONATION_USERS_OPTION
public static final PropertyKey.Template MASTER_IMPERSONATION_USERS_OPTION
-
MASTER_JOURNAL_UFS_OPTION_PROPERTY
public static final PropertyKey.Template MASTER_JOURNAL_UFS_OPTION_PROPERTY
-
MASTER_EMBEDDED_JOURNAL_RATIS_CONFIG_PROPERTY
public static final PropertyKey.Template MASTER_EMBEDDED_JOURNAL_RATIS_CONFIG_PROPERTY
-
MASTER_LOGICAL_NAMESERVICES
public static final PropertyKey.Template MASTER_LOGICAL_NAMESERVICES
-
MASTER_LOGICAL_RPC_ADDRESS
public static final PropertyKey.Template MASTER_LOGICAL_RPC_ADDRESS
-
MASTER_LOGICAL_ZOOKEEPER_NAMESERVICES
public static final PropertyKey.Template MASTER_LOGICAL_ZOOKEEPER_NAMESERVICES
-
MASTER_LOGICAL_ZOOKEEPER_ADDRESS
public static final PropertyKey.Template MASTER_LOGICAL_ZOOKEEPER_ADDRESS
-
MASTER_MOUNT_TABLE_ALLUXIO
public static final PropertyKey.Template MASTER_MOUNT_TABLE_ALLUXIO
-
MASTER_MOUNT_TABLE_OPTION
public static final PropertyKey.Template MASTER_MOUNT_TABLE_OPTION
-
MASTER_MOUNT_TABLE_OPTION_PROPERTY
public static final PropertyKey.Template MASTER_MOUNT_TABLE_OPTION_PROPERTY
-
MASTER_MOUNT_TABLE_READONLY
public static final PropertyKey.Template MASTER_MOUNT_TABLE_READONLY
-
MASTER_MOUNT_TABLE_SHARED
public static final PropertyKey.Template MASTER_MOUNT_TABLE_SHARED
-
MASTER_MOUNT_TABLE_UFS
public static final PropertyKey.Template MASTER_MOUNT_TABLE_UFS
-
MASTER_TIERED_STORE_GLOBAL_LEVEL_ALIAS
public static final PropertyKey.Template MASTER_TIERED_STORE_GLOBAL_LEVEL_ALIAS
-
UNDERFS_ABFS_ACCOUNT_KEY
public static final PropertyKey.Template UNDERFS_ABFS_ACCOUNT_KEY
-
UNDERFS_AZURE_ACCOUNT_KEY
public static final PropertyKey.Template UNDERFS_AZURE_ACCOUNT_KEY
-
UNDERFS_AZURE_CLIENT_ID
public static final PropertyKey.Template UNDERFS_AZURE_CLIENT_ID
-
UNDERFS_AZURE_CLIENT_SECRET
public static final PropertyKey.Template UNDERFS_AZURE_CLIENT_SECRET
-
UNDERFS_AZURE_REFRESH_URL
public static final PropertyKey.Template UNDERFS_AZURE_REFRESH_URL
-
WORKER_TIERED_STORE_LEVEL_ALIAS
public static final PropertyKey.Template WORKER_TIERED_STORE_LEVEL_ALIAS
-
WORKER_TIERED_STORE_LEVEL_DIRS_PATH
public static final PropertyKey.Template WORKER_TIERED_STORE_LEVEL_DIRS_PATH
-
WORKER_TIERED_STORE_LEVEL_DIRS_MEDIUMTYPE
public static final PropertyKey.Template WORKER_TIERED_STORE_LEVEL_DIRS_MEDIUMTYPE
-
WORKER_TIERED_STORE_LEVEL_DIRS_QUOTA
public static final PropertyKey.Template WORKER_TIERED_STORE_LEVEL_DIRS_QUOTA
-
WORKER_TIERED_STORE_LEVEL_HIGH_WATERMARK_RATIO
public static final PropertyKey.Template WORKER_TIERED_STORE_LEVEL_HIGH_WATERMARK_RATIO
-
WORKER_TIERED_STORE_LEVEL_LOW_WATERMARK_RATIO
public static final PropertyKey.Template WORKER_TIERED_STORE_LEVEL_LOW_WATERMARK_RATIO
-
USER_NETWORK_KEEPALIVE_TIME_MS
public static final PropertyKey.Template USER_NETWORK_KEEPALIVE_TIME_MS
-
USER_NETWORK_KEEPALIVE_TIMEOUT_MS
public static final PropertyKey.Template USER_NETWORK_KEEPALIVE_TIMEOUT_MS
-
USER_NETWORK_MAX_INBOUND_MESSAGE_SIZE
public static final PropertyKey.Template USER_NETWORK_MAX_INBOUND_MESSAGE_SIZE
-
USER_NETWORK_FLOWCONTROL_WINDOW
public static final PropertyKey.Template USER_NETWORK_FLOWCONTROL_WINDOW
-
USER_NETWORK_NETTY_CHANNEL
public static final PropertyKey.Template USER_NETWORK_NETTY_CHANNEL
-
USER_NETWORK_NETTY_WORKER_THREADS
public static final PropertyKey.Template USER_NETWORK_NETTY_WORKER_THREADS
-
USER_NETWORK_MAX_CONNECTIONS
public static final PropertyKey.Template USER_NETWORK_MAX_CONNECTIONS
-
RPC_EXECUTOR_TYPE
public static final PropertyKey.Template RPC_EXECUTOR_TYPE
-
RPC_EXECUTOR_CORE_POOL_SIZE
public static final PropertyKey.Template RPC_EXECUTOR_CORE_POOL_SIZE
-
RPC_EXECUTOR_MAX_POOL_SIZE
public static final PropertyKey.Template RPC_EXECUTOR_MAX_POOL_SIZE
-
RPC_EXECUTOR_KEEPALIVE
public static final PropertyKey.Template RPC_EXECUTOR_KEEPALIVE
-
RPC_EXECUTOR_TPE_QUEUE_TYPE
public static final PropertyKey.Template RPC_EXECUTOR_TPE_QUEUE_TYPE
-
RPC_EXECUTOR_TPE_ALLOW_CORE_THREADS_TIMEOUT
public static final PropertyKey.Template RPC_EXECUTOR_TPE_ALLOW_CORE_THREADS_TIMEOUT
-
RPC_EXECUTOR_FJP_PARALLELISM
public static final PropertyKey.Template RPC_EXECUTOR_FJP_PARALLELISM
-
RPC_EXECUTOR_FJP_MIN_RUNNABLE
public static final PropertyKey.Template RPC_EXECUTOR_FJP_MIN_RUNNABLE
-
RPC_EXECUTOR_FJP_ASYNC
public static final PropertyKey.Template RPC_EXECUTOR_FJP_ASYNC
-
TEST_DEPRECATED_TEMPLATE
public static final PropertyKey.Template TEST_DEPRECATED_TEMPLATE
Deprecated.This template is always deprecated. It is used only for testing.
-
-
Method Detail
-
values
public static PropertyKey.Template[] 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 (PropertyKey.Template c : PropertyKey.Template.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyKey.Template 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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<PropertyKey.Template>
-
format
public PropertyKey format(java.lang.Object... params)
Converts a property key template (e.g.,WORKER_TIERED_STORE_LEVEL_ALIAS
) to aPropertyKey
instance.- Parameters:
params
- ordinal- Returns:
- corresponding property
-
matches
public boolean matches(java.lang.String input)
- Parameters:
input
- the input property key string- Returns:
- whether the input string matches this template
-
match
public java.util.regex.Matcher match(java.lang.String input)
- Parameters:
input
- the input property key string- Returns:
- the matcher matching the template to the string
-
-