Class ZoneUtils


  • public final class ZoneUtils
    extends Object
    Utility class for dealing with zones.
    Author:
    Ryan Baxter
    • Method Detail

      • extractApproximateZone

        public static String extractApproximateZone​(String host)
        Approximates Eureka zones from a host name. This method approximates the zone to be everything after the first "." in the host name.
        Parameters:
        host - The host name to extract the host name from
        Returns:
        The approximate zone