Annotation 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:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Configures the hostname or IP address on which the Locator will bind to for accepting connections from clients sending Locator requests.
    Configures the hostname used by clients connecting to this Locator.
    Configures the list of Locators defining the cluster to which this Spring Locator application will connect.
    Configures the log level used to output log messages at Apache Geode / Pivotal GemFire Locator runtime.
    Configures the name of the Locator application.
    int
    Configures the port on which the embedded Locator service will bind to listening for client connections sending Locator requests.
  • Element Details

    • bindAddress

      String bindAddress
      Configures the hostname or IP address on which the Locator will bind to for accepting connections from clients sending Locator requests. Defaults to localhost. Use the spring.data.gemfire.locator.bind-address property in Spring Boot application.properties.
      Default:
      ""
    • hostnameForClients

      String hostnameForClients
      Configures the hostname used by clients connecting to this Locator. Defaults to localhost. Use spring.data.gemfire.locator.hostname-for-clients in Spring Boot application.properties.
      Default:
      ""
    • locators

      String locators
      Configures the list of Locators defining the cluster to which this Spring Locator application will connect. Use spring.data.gemfire.locators property in application.properties.
      Default:
      ""
    • logLevel

      String logLevel
      Configures the log level used to output log messages at Apache Geode / Pivotal GemFire Locator runtime. Defaults to config. Use spring.data.gemfire.locator.log-level property in application.properties.
      Default:
      "warn"
    • name

      String name
      Configures the name of the Locator application. Defaults to SpringBasedLocatorApplication. Use the spring.data.gemfire.locator.name property in Spring Boot application.properties.
      Default:
      "SpringBasedLocatorApplication"
    • port

      int port
      Configures the port on which the embedded Locator service will bind to listening for client connections sending Locator requests. Defaults to 10334. Use the spring.data.gemfire.locator.port property in Spring Boot application.properties.
      Default:
      10334