@ThreadSafe public final class PrefixPathConfiguration extends Object implements PathConfiguration
Constructor and Description |
---|
PrefixPathConfiguration()
Constructs an empty path level configuration.
|
PrefixPathConfiguration(Map<String,AlluxioConfiguration> configurations)
Constructs a new path level configuration.
|
Modifier and Type | Method and Description |
---|---|
Optional<AlluxioConfiguration> |
getConfiguration(AlluxioURI path,
PropertyKey key) |
Set<PropertyKey> |
getPropertyKeys(AlluxioURI path) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create
public PrefixPathConfiguration()
public PrefixPathConfiguration(Map<String,AlluxioConfiguration> configurations)
configurations
- a map from path patterns to corresponding path level configurationpublic Optional<AlluxioConfiguration> getConfiguration(AlluxioURI path, PropertyKey key)
getConfiguration
in interface PathConfiguration
path
- the Alluxio pathkey
- the property keypublic Set<PropertyKey> getPropertyKeys(AlluxioURI path)
getPropertyKeys
in interface PathConfiguration
path
- the Alluxio pathCopyright © 2023. All Rights Reserved.