Annotation Interface UseLocators


The UseLocators annotation configures the locators and/or remote-locators Apache Geode properties used by a peer Cache member to join a cluster of servers when using the P2P topology as well as when configuring the multi-site, WAN topology.
Since:
1.0.0
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The list of Locators used by system members.
    Used to configure the Locators that a cluster will use in order to connect to a remote site in a multi-site (WAN) topology configuration.
     
  • Element Details

    • value

      @AliasFor("locators") String value
      See Also:
      Default:
      "localhost[10334]"
    • locators

      @AliasFor("value") String locators
      The list of Locators used by system members. The list must be configured consistently for every member of the cluster (a.k.a. distributed system). If the list is empty, Locators will not be used. For each Locator, provide a hostname and/or address (separated by ‘@’, if you use both), followed by a port number in brackets. For example: locators=address1[port1],address2[port2],...,addressN[portN] locators=hostname1@address1[port1],hostname2@address2[port2],...,hostnameN@addressN[portN] locators=hostname1[port1],hostname2[port2],...,hostnameN[portN] Defaults to localhost[10334].
      Default:
      "localhost[10334]"
    • remoteLocators

      String remoteLocators
      Used to configure the Locators that a cluster will use in order to connect to a remote site in a multi-site (WAN) topology configuration. To use Locators in a WAN configuration, you must specify a unique distributed system ID (distributed-system-id) for the local cluster and remote Locator(s) for the remote clusters to which you will connect. For each remote Locator, provide a host name and/or address (separated by ‘@’, if you use both), followed by a port number in brackets. For example: remote-locators=address1[port1],address2[port2],...,addressN[portN] remote-locators=hostname1@address1[port1],hostname2@address2[port2],...,hostnameN@addressN[portN] remote-locators=hostname1[port1],hostname2[port2],...,hostnameN[portN] Defaults to unset.
      Default:
      ""