@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @Import(value=ClusterConfigurationConfiguration.class) public @interface EnableClusterConfiguration
EnableClusterConfiguration
annotation enables Apache Geode / Pivotal GemFire schema-like definitions
defined in a Spring [Boot], Geode/GemFire cache client application using Spring config to be pushed to
a Geode/GemFire cluster, similar to how schema commands (e.g. `create region`) in Gfsh are processed by
an Geode/GemFire Manager.Documented
,
Inherited
,
Retention
,
Target
,
Import
,
ClusterConfigurationConfiguration
Modifier and Type | Optional Element and Description |
---|---|
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.
|
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 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–2019 Pivotal Software, Inc.. All rights reserved.