@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @Import(value=ClusterConfigurationConfiguration.class) public @interface EnableClusterConfiguration
EnableClusterConfiguration
annotation enables Apache Geode / Pivotal GemFire schema object definitions
defined in a Spring [Boot], Apache Geode / Pivotal GemFire ClientCache
application using Spring config
to be pushed to an Apache Geode / Pivotal GemFire cluster, similar to how schema commands (e.g. `create region`)
in Gfsh are processed by an Apache Geode / Pivotal GemFire Manager.Documented
,
Inherited
,
Retention
,
Target
,
Region
,
ClientCache
,
Import
,
ClusterConfigurationConfiguration
Modifier and Type | Optional Element and Description |
---|---|
boolean |
enableInterceptors
Configures whether to enable
ClientHttpRequestInterceptor bean lookup. |
boolean |
followRedirects
Configures whether to follow HTTP redirects when using HTTP.
|
String |
host
Configures the bind address used by the Spring, GemFire/Geode cache client application to locate
the Manager's HTTP Service and access the Management REST API.
|
int |
port
Configures the port used by the Spring, GemFire/Geode cache client application to locate
the Manager's HTTP Service and access the Management REST API.
|
boolean |
requireHttps
Configures whether the HTTP connection between Spring and Apache Geode or Pivotal GemFire should be secure.
|
org.apache.geode.cache.RegionShortcut |
serverRegionShortcut
Configuration setting used to specify the data management policy used when creating
Regions
on the servers in the Geode/GemFire cluster. |
boolean |
useHttp
Configures whether connectivity between the Spring, GemFire/Geode application should be established using HTTP.
|
public abstract String host
useHttp()
is set to true.
Alternatively, you can configure this setting using the spring.data.gemfire.management.http.host
property in application.properties.
Defaults to localhost.public abstract int port
useHttp()
is set to true.
Alternatively, you can configure this setting using the spring.data.gemfire.management.http.port
property in application.properties.
Defaults to 7070.public abstract boolean enableInterceptors
ClientHttpRequestInterceptor
bean lookup.
If ClientHttpRequestInterceptor
beans are found in the Spring context, then they will be added to
the Interceptors on the RestTemplate
when using HTTP.
Alternatively, you can configure this setting using the
spring.data.gemfire.management.http.enable-interceptors property in application.properties.
Defaults to false.public abstract boolean followRedirects
public abstract boolean requireHttps
public abstract org.apache.geode.cache.RegionShortcut serverRegionShortcut
Regions
on the servers in the Geode/GemFire cluster.
The data management policy is expressed with a RegionShortcut
, but corresponds to the various
different DataPolicies
available.
Alternatively, you can configure this setting using the spring.data.gemfire.cluster.region.type
property in application.properties.
Defaults to RegionShortcut.PARTITION
.public abstract boolean useHttp
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.