Interface DatasetNamespaceResolver

  • All Known Implementing Classes:
    HostListNamespaceResolver, PatternMatchingGroupNamespaceResolver, PatternNamespaceResolver

    public interface DatasetNamespaceResolver
    Interface used to resolve host name into more meaningful name that just host address. Common use case for the interface is: resolve DB server into more descriptive name which is stable when migrating hosts. Other use case is cluster matching: given any hostname from available in cluster, a dataset identifier should be based on cluster name.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String resolve​(java.lang.String namespace)
      Method should always return original value if hostAdress is not to be modified
    • Method Detail

      • resolve

        java.lang.String resolve​(java.lang.String namespace)
        Method should always return original value if hostAdress is not to be modified
        Parameters:
        namespace - address of the host
        Returns:
        resolved namespace