Annotation Interface LocatorApplication
@Target(TYPE)
@Retention(RUNTIME)
@Inherited
@Documented
@Configuration
@Import(LocatorApplicationConfiguration.class)
public @interface LocatorApplication
The
LocatorApplication
Annotation
enables a Spring Data for Apache Geode & Pivotal GemFire
application to become a Locator
based application.- Since:
- 2.2.0
- Author:
- John Blum
- See Also:
-
Element Details
-
bindAddress
String bindAddressConfigures the hostname or IP address on which theLocator
will bind to for accepting connections from clients sendingLocator
requests. Defaults to localhost. Use the spring.data.gemfire.locator.bind-address property in Spring Boot application.properties.- Default:
- ""
-
hostnameForClients
String hostnameForClientsConfigures thehostname
used by clients connecting to thisLocator
. Defaults to localhost. Use spring.data.gemfire.locator.hostname-for-clients in Spring Boot application.properties.- Default:
- ""
-
locators
String locatorsConfigures the list ofLocators
defining the cluster to which this SpringLocator
application will connect. Use spring.data.gemfire.locators property in application.properties.- Default:
- ""
-
logLevel
String logLevelConfigures the log level used to output log messages at Apache Geode / Pivotal GemFireLocator
runtime. Defaults to config. Use spring.data.gemfire.locator.log-level property in application.properties.- Default:
- "warn"
-
name
String nameConfigures the name of theLocator
application. Defaults to SpringBasedLocatorApplication. Use the spring.data.gemfire.locator.name property in Spring Boot application.properties.- Default:
- "SpringBasedLocatorApplication"
-
port
int portConfigures the port on which the embeddedLocator
service will bind to listening for client connections sendingLocator
requests. Defaults to 10334. Use the spring.data.gemfire.locator.port property in Spring Boot application.properties.- Default:
- 10334
-