@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @Import(value=LocatorsConfiguration.class) public @interface UseLocators
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.Documented
,
Inherited
,
Retention
,
Target
,
Cache
,
Import
,
AliasFor
,
MemberNameConfiguration
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
locators
The list of Locators used by system members.
|
java.lang.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.
|
java.lang.String |
value |
@AliasFor(value="locators") public abstract java.lang.String value
locators()
@AliasFor(value="value") public abstract java.lang.String locators
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].public abstract java.lang.String remoteLocators
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.