Package | Description |
---|---|
alluxio | |
alluxio.cli | |
alluxio.conf | |
alluxio.master.meta.checkconf | |
alluxio.multi.process | |
alluxio.underfs | |
alluxio.util.network |
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_RESERVED_RATIO ) 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. |
Modifier and Type | Method and Description |
---|---|
static Collection<? extends PropertyKey> |
PropertyKey.defaultKeys() |
static Set<PropertyKey> |
Configuration.keySet() |
Set<PropertyKey> |
AlluxioConfiguration.keySet() |
Modifier and Type | Method and Description |
---|---|
int |
PropertyKey.compareTo(PropertyKey o) |
static boolean |
Configuration.containsKey(PropertyKey key)
Deprecated.
due to misleading method name, use {
Configuration.isSet(PropertyKey) } instead |
static String |
Configuration.get(PropertyKey key)
Gets the value for the given key in the
Properties ; if this key is not found, a
RuntimeException is thrown. |
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 |
Configuration.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 |
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. |
static boolean |
Configuration.getBoolean(PropertyKey key)
Gets the boolean representation of the value for the given key.
|
boolean |
AlluxioConfiguration.getBoolean(PropertyKey key)
Gets the boolean representation of the value for the given key.
|
static long |
Configuration.getBytes(PropertyKey key)
Gets the bytes of the value for the given key.
|
long |
AlluxioConfiguration.getBytes(PropertyKey key)
Gets the bytes of the value for the given key.
|
static <T> Class<T> |
Configuration.getClass(PropertyKey key)
Gets the value for the given key as a class.
|
<T> Class<T> |
AlluxioConfiguration.getClass(PropertyKey key)
Gets the value for the given key as a class.
|
static double |
Configuration.getDouble(PropertyKey key)
Gets the double representation of the value for the given key.
|
double |
AlluxioConfiguration.getDouble(PropertyKey key)
Gets the double representation of the value for the given key.
|
static java.time.Duration |
Configuration.getDuration(PropertyKey key)
Gets the time of the key as a duration.
|
java.time.Duration |
AlluxioConfiguration.getDuration(PropertyKey key)
Gets the time of the key as a duration.
|
static <T extends Enum<T>> |
Configuration.getEnum(PropertyKey key,
Class<T> enumType)
Gets the value for the given key as an enum value.
|
<T extends Enum<T>> |
AlluxioConfiguration.getEnum(PropertyKey key,
Class<T> enumType)
Gets the value for the given key as an enum value.
|
static float |
Configuration.getFloat(PropertyKey key)
Gets the float representation of the value for the given key.
|
float |
AlluxioConfiguration.getFloat(PropertyKey key)
Gets the float representation of the value for the given key.
|
static int |
Configuration.getInt(PropertyKey key)
Gets the integer representation of the value for the given key.
|
int |
AlluxioConfiguration.getInt(PropertyKey key)
Gets the integer representation of the value for the given key.
|
static List<String> |
Configuration.getList(PropertyKey key,
String delimiter)
Gets the value for the given key as a list.
|
List<String> |
AlluxioConfiguration.getList(PropertyKey key,
String delimiter)
Gets the value for the given key as a list.
|
static long |
Configuration.getLong(PropertyKey key)
Gets the long representation of the value for the given key.
|
long |
AlluxioConfiguration.getLong(PropertyKey key)
Gets the long representation of the value for the given key.
|
static long |
Configuration.getMs(PropertyKey key)
Gets the time of key in millisecond unit.
|
long |
AlluxioConfiguration.getMs(PropertyKey key)
Gets the time of key in millisecond unit.
|
static Map<String,String> |
Configuration.getNestedProperties(PropertyKey prefixKey)
Gets a set of properties that share a given common prefix key as a map.
|
Map<String,String> |
AlluxioConfiguration.getNestedProperties(PropertyKey prefixKey)
Gets a set of properties that share a given common prefix key as a map.
|
static String |
Configuration.getOrDefault(PropertyKey key,
String defaultValue) |
default String |
AlluxioConfiguration.getOrDefault(PropertyKey key,
String defaultValue) |
static String |
Configuration.getOrDefault(PropertyKey key,
String defaultValue,
ConfigurationValueOptions options) |
default String |
AlluxioConfiguration.getOrDefault(PropertyKey key,
String defaultValue,
ConfigurationValueOptions options) |
static Source |
Configuration.getSource(PropertyKey key) |
Source |
AlluxioConfiguration.getSource(PropertyKey key) |
static boolean |
Configuration.isSet(PropertyKey key)
Checks if the configuration contains a value for the given key.
|
boolean |
AlluxioConfiguration.isSet(PropertyKey key)
Checks if the configuration contains a value for the given key.
|
static boolean |
PropertyKey.register(PropertyKey key)
Registers the given key to the global key map.
|
static void |
Configuration.set(PropertyKey key,
Object value)
Sets the value for the appropriate key in the
Properties . |
static void |
Configuration.set(PropertyKey key,
Object value,
Source source)
Sets the value for the appropriate key in the
Properties by source. |
static void |
PropertyKey.unregister(PropertyKey key)
Unregisters the given key from the global key map.
|
static void |
Configuration.unset(PropertyKey key)
Unsets the value for the appropriate key in the
Properties . |
Constructor and Description |
---|
StorageTierAssoc(PropertyKey levelsProperty,
PropertyKey.Template template)
Constructs a new instance using the given
Configuration 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 |
---|---|
Set<Map.Entry<PropertyKey,String>> |
AlluxioProperties.entrySet() |
Set<PropertyKey> |
InstancedConfiguration.keySet() |
Set<PropertyKey> |
AlluxioProperties.keySet() |
Set<PropertyKey> |
AlluxioProperties.userKeySet() |
Modifier and Type | Method and Description |
---|---|
String |
InstancedConfiguration.get(PropertyKey key) |
String |
AlluxioProperties.get(PropertyKey key) |
String |
InstancedConfiguration.get(PropertyKey key,
ConfigurationValueOptions options) |
boolean |
InstancedConfiguration.getBoolean(PropertyKey key) |
long |
InstancedConfiguration.getBytes(PropertyKey key) |
<T> Class<T> |
InstancedConfiguration.getClass(PropertyKey key) |
double |
InstancedConfiguration.getDouble(PropertyKey key) |
java.time.Duration |
InstancedConfiguration.getDuration(PropertyKey key) |
<T extends Enum<T>> |
InstancedConfiguration.getEnum(PropertyKey key,
Class<T> enumType) |
float |
InstancedConfiguration.getFloat(PropertyKey key) |
int |
InstancedConfiguration.getInt(PropertyKey key) |
List<String> |
InstancedConfiguration.getList(PropertyKey key,
String delimiter) |
long |
InstancedConfiguration.getLong(PropertyKey key) |
long |
InstancedConfiguration.getMs(PropertyKey key) |
Map<String,String> |
InstancedConfiguration.getNestedProperties(PropertyKey prefixKey) |
Source |
InstancedConfiguration.getSource(PropertyKey key) |
Source |
AlluxioProperties.getSource(PropertyKey key) |
boolean |
InstancedConfiguration.isSet(PropertyKey key) |
boolean |
AlluxioProperties.isSet(PropertyKey key)
Checks if there is a value set for the given key.
|
void |
AlluxioProperties.put(PropertyKey key,
String value,
Source source)
Puts the key value pair specified by users.
|
void |
AlluxioProperties.remove(PropertyKey key)
Remove the value set for key.
|
void |
AlluxioProperties.setSource(PropertyKey key,
Source source)
Sets the source for a given key.
|
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 |
---|---|
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 |
---|---|
boolean |
UnderFileSystemConfiguration.containsKey(PropertyKey key) |
String |
UnderFileSystemConfiguration.getValue(PropertyKey key)
Gets the value of the given key in the given UFS configuration or the global configuration
(in case the key is not found in the UFS configuration), throw
RuntimeException if the
key is not found in both configurations. |
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.
|
Copyright © 2023. All Rights Reserved.