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

    Modifier and Type
    Method
    Description
    resolve(String namespace)
    Method should always return original value if hostAdress is not to be modified
  • Method Details

    • resolve

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