Class ZoneConfig

java.lang.Object
com.linecorp.centraldogma.server.ZoneConfig

public final class ZoneConfig extends Object
A configuration class for the zone.
  • Constructor Details

    • ZoneConfig

      public ZoneConfig(String currentZone, List<String> allZones)
      Creates a new instance.
  • Method Details

    • currentZone

      public String currentZone()
      Returns the current zone.
    • allZones

      public List<String> allZones()
      Returns all zones.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object