Constructor and Description |
---|
StorageTierAssoc(PropertyKey levelsProperty,
PropertyKey.Template template)
Constructs a new instance using the given
ServerConfiguration object. |
Modifier and Type | Method and Description |
---|---|
static void |
ConfigurationDocGenerator.writeCSVFile(Collection<? extends PropertyKey> defaultKeys,
String filePath)
Writes property key to csv files.
|
static void |
ConfigurationDocGenerator.writeYMLFile(Collection<? extends PropertyKey> defaultKeys,
String filePath)
Writes description of property key to yml files.
|
Modifier and Type | Method and Description |
---|---|
static String |
AddCommand.nonClientScopePropertyException(PropertyKey key) |
Modifier and Type | Method and Description |
---|---|
default void |
MetaMasterConfigClient.setPathConfiguration(AlluxioURI path,
PropertyKey key,
String value)
Sets a property for a path.
|
Modifier and Type | Method and Description |
---|---|
void |
MetaMasterConfigClient.removePathConfiguration(AlluxioURI path,
Set<PropertyKey> keys)
Removes properties for a path.
|
void |
RetryHandlingMetaMasterConfigClient.removePathConfiguration(AlluxioURI path,
Set<PropertyKey> keys) |
void |
MetaMasterConfigClient.setPathConfiguration(AlluxioURI path,
Map<PropertyKey,String> properties)
Sets properties for a path.
|
void |
RetryHandlingMetaMasterConfigClient.setPathConfiguration(AlluxioURI path,
Map<PropertyKey,String> properties) |
Modifier and Type | Method and Description |
---|---|
PropertyKey |
PropertyKey.Builder.build()
Creates and registers the property key.
|
PropertyKey |
PropertyKey.Builder.buildUnregistered()
Creates the property key without registering it with default property list.
|
PropertyKey |
PropertyKey.Template.format(Object... params)
Converts a property key template (e.g.,
PropertyKey.Template.WORKER_TIERED_STORE_LEVEL_ALIAS ) to a PropertyKey instance. |
static PropertyKey |
PropertyKey.fromString(String input)
Parses a string and return its corresponding
PropertyKey , throwing exception if no such
a property can be found. |
static PropertyKey |
PropertyKey.getOrBuildCustom(String name) |
Modifier and Type | Method and Description |
---|---|
static Collection<? extends PropertyKey> |
PropertyKey.defaultKeys() |
Set<Map.Entry<PropertyKey,String>> |
AlluxioProperties.entrySet() |
static Set<PropertyKey> |
ServerConfiguration.keySet() |
Set<PropertyKey> |
InstancedConfiguration.keySet() |
Set<PropertyKey> |
AlluxioProperties.keySet() |
Set<PropertyKey> |
AlluxioConfiguration.keySet() |
Set<PropertyKey> |
InstancedConfiguration.userKeySet() |
Set<PropertyKey> |
AlluxioProperties.userKeySet() |
Set<PropertyKey> |
AlluxioConfiguration.userKeySet() |
Modifier and Type | Method and Description |
---|---|
int |
PropertyKey.compareTo(PropertyKey o) |
static String |
ServerConfiguration.get(PropertyKey key)
Gets the value for the given key in the
Properties ; if this key is not found, a
RuntimeException is thrown. |
String |
InstancedConfiguration.get(PropertyKey key) |
String |
AlluxioProperties.get(PropertyKey key) |
String |
AlluxioConfiguration.get(PropertyKey key)
Gets the value for the given key in the
Properties ; if this key is not found, a
RuntimeException is thrown. |
static String |
ServerConfiguration.get(PropertyKey key,
ConfigurationValueOptions options)
Gets the value for the given key in the
Properties ; if this key is not found, a
RuntimeException is thrown. |
String |
InstancedConfiguration.get(PropertyKey key,
ConfigurationValueOptions options) |
String |
AlluxioConfiguration.get(PropertyKey key,
ConfigurationValueOptions options)
Gets the value for the given key in the
Properties ; if this key is not found, a
RuntimeException is thrown. |
Deprecated |
DeprecatedKeyChecker.getAnnotation(PropertyKey key)
Returns the annotation attached to the given property key.
|
static boolean |
ServerConfiguration.getBoolean(PropertyKey key)
Gets the boolean representation of the value for the given key.
|
boolean |
InstancedConfiguration.getBoolean(PropertyKey key) |
boolean |
AlluxioConfiguration.getBoolean(PropertyKey key)
Gets the boolean representation of the value for the given key.
|
static long |
ServerConfiguration.getBytes(PropertyKey key)
Gets the bytes of the value for the given key.
|
long |
InstancedConfiguration.getBytes(PropertyKey key) |
long |
AlluxioConfiguration.getBytes(PropertyKey key)
Gets the bytes of the value for the given key.
|
static <T> Class<T> |
ServerConfiguration.getClass(PropertyKey key)
Gets the value for the given key as a class.
|
<T> Class<T> |
InstancedConfiguration.getClass(PropertyKey key) |
<T> Class<T> |
AlluxioConfiguration.getClass(PropertyKey key)
Gets the value for the given key as a class.
|
static String |
PropertyKey.getDeprecationMessage(PropertyKey key) |
static double |
ServerConfiguration.getDouble(PropertyKey key)
Gets the double representation of the value for the given key.
|
double |
InstancedConfiguration.getDouble(PropertyKey key) |
double |
AlluxioConfiguration.getDouble(PropertyKey key)
Gets the double representation of the value for the given key.
|
static java.time.Duration |
ServerConfiguration.getDuration(PropertyKey key)
Gets the time of the key as a duration.
|
java.time.Duration |
InstancedConfiguration.getDuration(PropertyKey key) |
java.time.Duration |
AlluxioConfiguration.getDuration(PropertyKey key)
Gets the time of the key as a duration.
|
static <T extends Enum<T>> |
ServerConfiguration.getEnum(PropertyKey key,
Class<T> enumType)
Gets the value for the given key as an enum value.
|
<T extends Enum<T>> |
InstancedConfiguration.getEnum(PropertyKey key,
Class<T> enumType) |
<T extends Enum<T>> |
AlluxioConfiguration.getEnum(PropertyKey key,
Class<T> enumType)
Gets the value for the given key as an enum value.
|
static float |
ServerConfiguration.getFloat(PropertyKey key)
Gets the float representation of the value for the given key.
|
float |
InstancedConfiguration.getFloat(PropertyKey key) |
float |
AlluxioConfiguration.getFloat(PropertyKey key)
Gets the float representation of the value for the given key.
|
static int |
ServerConfiguration.getInt(PropertyKey key)
Gets the integer representation of the value for the given key.
|
int |
InstancedConfiguration.getInt(PropertyKey key) |
int |
AlluxioConfiguration.getInt(PropertyKey key)
Gets the integer representation of the value for the given key.
|
static List<String> |
ServerConfiguration.getList(PropertyKey key,
String delimiter)
Gets the value for the given key as a list.
|
List<String> |
InstancedConfiguration.getList(PropertyKey key,
String delimiter) |
List<String> |
AlluxioConfiguration.getList(PropertyKey key,
String delimiter)
Gets the value for the given key as a list.
|
static long |
ServerConfiguration.getLong(PropertyKey key)
Gets the long representation of the value for the given key.
|
long |
InstancedConfiguration.getLong(PropertyKey key) |
long |
AlluxioConfiguration.getLong(PropertyKey key)
Gets the long representation of the value for the given key.
|
static long |
ServerConfiguration.getMs(PropertyKey key)
Gets the time of key in millisecond unit.
|
long |
InstancedConfiguration.getMs(PropertyKey key) |
long |
AlluxioConfiguration.getMs(PropertyKey key)
Gets the time of key in millisecond unit.
|
static Map<String,String> |
ServerConfiguration.getNestedProperties(PropertyKey prefixKey)
Gets a set of properties that share a given common prefix key as a map.
|
Map<String,String> |
InstancedConfiguration.getNestedProperties(PropertyKey prefixKey) |
Map<String,String> |
AlluxioConfiguration.getNestedProperties(PropertyKey prefixKey)
Gets a set of properties that share a given common prefix key as a map.
|
static String |
ServerConfiguration.getOrDefault(PropertyKey key,
String defaultValue) |
default String |
AlluxioConfiguration.getOrDefault(PropertyKey key,
String defaultValue) |
static String |
ServerConfiguration.getOrDefault(PropertyKey key,
String defaultValue,
ConfigurationValueOptions options) |
default String |
AlluxioConfiguration.getOrDefault(PropertyKey key,
String defaultValue,
ConfigurationValueOptions options) |
static Source |
ServerConfiguration.getSource(PropertyKey key) |
Source |
InstancedConfiguration.getSource(PropertyKey key) |
Source |
AlluxioProperties.getSource(PropertyKey key) |
Source |
AlluxioConfiguration.getSource(PropertyKey key) |
boolean |
DeprecatedKeyChecker.hasAnnotation(PropertyKey key)
Returns whether or not the given property key is marked by this class' annotation.
|
static boolean |
PropertyKey.isDeprecated(PropertyKey key)
Returns whether or not the given property key is marked as deprecated.
|
static boolean |
ServerConfiguration.isSet(PropertyKey key)
Checks if the configuration contains a value for the given key.
|
boolean |
InstancedConfiguration.isSet(PropertyKey key) |
boolean |
AlluxioProperties.isSet(PropertyKey key)
Checks if there is a value set for the given key.
|
boolean |
AlluxioConfiguration.isSet(PropertyKey key)
Checks if the configuration contains a value for the given key.
|
boolean |
InstancedConfiguration.isSetByUser(PropertyKey key) |
boolean |
AlluxioProperties.isSetByUser(PropertyKey key) |
boolean |
AlluxioConfiguration.isSetByUser(PropertyKey key) |
void |
AlluxioProperties.put(PropertyKey key,
String value,
Source source)
Puts the key value pair specified by users.
|
static boolean |
PropertyKey.register(PropertyKey key)
Registers the given key to the global key map.
|
void |
AlluxioProperties.remove(PropertyKey key)
Remove the value set for key.
|
static void |
ServerConfiguration.set(PropertyKey key,
Object value)
Sets the value for the appropriate key in the
Properties . |
void |
InstancedConfiguration.set(PropertyKey key,
Object value)
Sets the value for the appropriate key in the
Properties . |
static void |
ServerConfiguration.set(PropertyKey key,
Object value,
Source source)
Sets the value for the appropriate key in the
Properties by source. |
void |
InstancedConfiguration.set(PropertyKey key,
Object value,
Source source)
Sets the value for the appropriate key in the
Properties by source. |
void |
AlluxioProperties.set(PropertyKey key,
String value)
Puts the key value pair specified by users.
|
void |
AlluxioProperties.setSource(PropertyKey key,
Source source)
Sets the source for a given key.
|
static void |
PropertyKey.unregister(PropertyKey key)
Unregisters the given key from the global key map.
|
static void |
ServerConfiguration.unset(PropertyKey key)
Unsets the value for the appropriate key in the
Properties . |
void |
InstancedConfiguration.unset(PropertyKey key)
Unsets the value for the appropriate key in the
Properties . |
Modifier and Type | Method and Description |
---|---|
void |
AlluxioProperties.forEach(java.util.function.BiConsumer<? super PropertyKey,? super String> action)
Iterates over all the key value pairs and performs the given action.
|
Modifier and Type | Method and Description |
---|---|
Set<PropertyKey> |
PrefixPathConfiguration.getPropertyKeys(AlluxioURI path) |
Set<PropertyKey> |
PathConfiguration.getPropertyKeys(AlluxioURI path) |
Set<PropertyKey> |
SpecificPathConfiguration.keySet() |
Set<PropertyKey> |
SpecificPathConfiguration.userKeySet() |
Modifier and Type | Method and Description |
---|---|
String |
SpecificPathConfiguration.get(PropertyKey key) |
String |
SpecificPathConfiguration.get(PropertyKey key,
ConfigurationValueOptions options) |
boolean |
SpecificPathConfiguration.getBoolean(PropertyKey key) |
long |
SpecificPathConfiguration.getBytes(PropertyKey key) |
<T> Class<T> |
SpecificPathConfiguration.getClass(PropertyKey key) |
Optional<AlluxioConfiguration> |
PrefixPathConfiguration.getConfiguration(AlluxioURI path,
PropertyKey key) |
Optional<AlluxioConfiguration> |
PathConfiguration.getConfiguration(AlluxioURI path,
PropertyKey key) |
double |
SpecificPathConfiguration.getDouble(PropertyKey key) |
java.time.Duration |
SpecificPathConfiguration.getDuration(PropertyKey key) |
<T extends Enum<T>> |
SpecificPathConfiguration.getEnum(PropertyKey key,
Class<T> enumType) |
float |
SpecificPathConfiguration.getFloat(PropertyKey key) |
int |
SpecificPathConfiguration.getInt(PropertyKey key) |
List<String> |
SpecificPathConfiguration.getList(PropertyKey key,
String delimiter) |
long |
SpecificPathConfiguration.getLong(PropertyKey key) |
long |
SpecificPathConfiguration.getMs(PropertyKey key) |
Map<String,String> |
SpecificPathConfiguration.getNestedProperties(PropertyKey prefixKey) |
Source |
SpecificPathConfiguration.getSource(PropertyKey key) |
boolean |
SpecificPathConfiguration.isSet(PropertyKey key) |
boolean |
SpecificPathConfiguration.isSetByUser(PropertyKey key) |
Modifier and Type | Method and Description |
---|---|
void |
LocalAlluxioJobCluster.setProperty(PropertyKey pk,
String value)
Overrides properties for the Job Master and Worker before starting.
|
Modifier and Type | Method and Description |
---|---|
void |
PathProperties.add(java.util.function.Supplier<JournalContext> ctx,
String path,
Map<PropertyKey,String> properties)
Adds properties for path.
|
void |
DefaultMetaMaster.setPathConfiguration(String path,
Map<PropertyKey,String> properties) |
void |
MetaMaster.setPathConfiguration(String path,
Map<PropertyKey,String> properties)
Sets properties for a path.
|
Modifier and Type | Method and Description |
---|---|
PropertyKey |
ConfigRecord.getKey() |
Modifier and Type | Method and Description |
---|---|
ConfigRecord |
ConfigRecord.setKey(PropertyKey key) |
Constructor and Description |
---|
ConfigRecord(PropertyKey key,
String source,
String value)
Creates a new instance of
ConfigRecord . |
Modifier and Type | Method and Description |
---|---|
Map<PropertyKey,String> |
Master.getConf() |
Modifier and Type | Method and Description |
---|---|
MultiProcessCluster.Builder |
MultiProcessCluster.Builder.addProperty(PropertyKey key,
String value) |
void |
Master.updateConf(PropertyKey key,
String value)
Updates the master's configuration.
|
void |
MultiProcessCluster.updateMasterConf(PropertyKey key,
String value)
Updates master configuration for all masters.
|
Modifier and Type | Method and Description |
---|---|
MultiProcessCluster.Builder |
MultiProcessCluster.Builder.addProperties(Map<PropertyKey,String> properties) |
MultiProcessCluster.Builder |
MultiProcessCluster.Builder.setMasterProperties(Map<Integer,Map<PropertyKey,String>> properties)
Sets master specific properties.
|
MultiProcessCluster.Builder |
MultiProcessCluster.Builder.setWorkerProperties(Map<Integer,Map<PropertyKey,String>> properties)
Sets worker specific properties.
|
Constructor and Description |
---|
ExternalProcess(Map<PropertyKey,String> conf,
Class<?> clazz,
File outfile) |
Master(File logsDir,
Map<PropertyKey,String> properties) |
Worker(File logsDir,
Map<PropertyKey,String> properties) |
Modifier and Type | Method and Description |
---|---|
static float |
ConfigurationUtils.checkRatio(AlluxioConfiguration conf,
PropertyKey key)
Checks that the given property key is a ratio from 0.0 and 1.0, throwing an exception if it is
not.
|
Modifier and Type | Method and Description |
---|---|
PropertyKey |
NetworkAddressUtils.ServiceType.getBindHostKey()
Gets the key of bind hostname.
|
PropertyKey |
NetworkAddressUtils.ServiceType.getHostNameKey()
Gets the key of connect hostname.
|
PropertyKey |
NetworkAddressUtils.ServiceType.getPortKey()
Gets the key of service port.
|
Modifier and Type | Method and Description |
---|---|
static Class<? extends io.netty.channel.Channel> |
NettyUtils.getChannelClass(boolean isDomainSocket,
PropertyKey key,
AlluxioConfiguration conf)
Get the proper channel class.
|
static ChannelType |
NettyUtils.getChannelType(PropertyKey key,
AlluxioConfiguration conf)
Get the proper channel type.
|
Copyright © 2023. All Rights Reserved.