Annotation Interface EnableLocator


The EnableLocator annotation configures a Spring @Configuration annotated Class to start an embedded Pivotal GemFire/Apache Geode Locator service in this cluster member. However, the embedded Pivotal GemFire/Apache Geode Locator service can be enabled/disabled externally in application.properties with the spring.data.gemfire.service.http.enabled property even when this Annotation is present, thereby serving as a toggle.
Since:
1.9.0
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Configures the host/IP address on which the embedded Locator service will bind to for accepting connections from clients sending Locator requests.
    int
    Configures the port on which the embedded Locator service will bind to listening for client connections sending Locator requests.
  • Element Details

    • host

      String host
      Configures the host/IP address on which the embedded Locator service will bind to for accepting connections from clients sending Locator requests. Defaults to localhost. Use the spring.data.gemfire.locator.host property in Spring Boot application.properties.
      Default:
      "localhost"
    • 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