Spring Data for VMware GemFire
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
- See Also:
-
AnnotationDocumentedInheritedRetentionTargetLocatorConfigurationImportLocatorApplicationConfigurationGemfireBeanFactoryLocator
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionConfigures the hostname or IP address on which theLocatorwill bind to for accepting connections from clients sendingLocatorrequests.Configures thehostnameused by clients connecting to thisLocator.Configures the list ofLocatorsdefining the cluster to which this SpringLocatorapplication will connect.Configures the log level used to output log messages at Apache Geode / Pivotal GemFireLocatorruntime.Configures thenameof theLocatorapplication.intConfigures the port on which the embeddedLocatorservice will bind to listening for client connections sendingLocatorrequests.booleanConfigures theLocatorapplication with theGemfireBeanFactoryLocatorin order to look up the SpringBeanFactoryused to auto-wire, configure and initialize Apache Geode components created in a non-Spring managed, Apache Geode context (for example: cache.xml).booleanConfigures whether the Spring-basedLocatorwill pull configuration metadata from the Apache Geode cluster-based, Cluster Configuration Service.booleanConfigures whether to use UDP for membership communication, or TCP.
-
Element Details
-
bindAddress
String bindAddressConfigures the hostname or IP address on which theLocatorwill bind to for accepting connections from clients sendingLocatorrequests. Defaults to localhost. Use the spring.data.gemfire.locator.bind-address property in Spring Boot application.properties.- Default:
- ""
-
hostnameForClients
String hostnameForClientsConfigures thehostnameused 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 ofLocatorsdefining the cluster to which this SpringLocatorapplication 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 GemFireLocatorruntime. Defaults to config. Use spring.data.gemfire.locator.log-level property in application.properties.- Default:
- "warn"
-
name
String nameConfigures thenameof theLocatorapplication. 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 embeddedLocatorservice will bind to listening for client connections sendingLocatorrequests. Defaults to 10334. Use the spring.data.gemfire.locator.port property in Spring Boot application.properties.- Default:
- 10334
-
useBeanFactoryLocator
boolean useBeanFactoryLocatorConfigures theLocatorapplication with theGemfireBeanFactoryLocatorin order to look up the SpringBeanFactoryused to auto-wire, configure and initialize Apache Geode components created in a non-Spring managed, Apache Geode context (for example: cache.xml). Defaults to false. Use spring.data.gemfire.use-bean-factory-locator property in application.properties.- Default:
- false
-
useClusterConfiguration
boolean useClusterConfigurationConfigures whether the Spring-basedLocatorwill pull configuration metadata from the Apache Geode cluster-based, Cluster Configuration Service. Defaults to false. Use spring.data.gemfire.locator.use-cluster-configuration property in application.properties.- Default:
- false
-
useUDPMembershipMessenger
boolean useUDPMembershipMessengerConfigures whether to use UDP for membership communication, or TCP. UDP was the old default. TCP is the current default. Use spring.data.gemfire.cache.locator.use-udp-membership-messenger property * in application.properties.- Default:
- false
-