Interface PathConfiguration

  • All Known Implementing Classes:
    PrefixPathConfiguration

    public interface PathConfiguration
    Path level configuration. An AlluxioConfiguration is set for each path pattern. This class matches an Alluxio path against the patterns, then from the configurations of the matched patterns, it chooses the configuration that contains the specified property key and belongs to the best matched pattern. Different implementations have different definitions of the best match.
    • Method Detail

      • getConfiguration

        java.util.Optional<AlluxioConfiguration> getConfiguration​(AlluxioURI path,
                                                                  PropertyKey key)
        Parameters:
        path - the Alluxio path
        key - the property key
        Returns:
        the chosen configuration matching the path and containing the key
      • getPropertyKeys

        java.util.Set<PropertyKey> getPropertyKeys​(AlluxioURI path)
        Parameters:
        path - the Alluxio path
        Returns:
        all property keys in the path level configuration that is applicable to path