@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @Import(value=GemFirePropertiesConfiguration.class) @UsesGemFireProperties public @interface EnableGemFireProperties
EnableGemFireProperties
annotation marks a Spring @Configuration
annotated class to configure GemFire/Geode System properties at runtime during [Spring Boot] application startup.GemFirePropertiesConfiguration
,
Geode PropertiesModifier and Type | Optional Element and Description |
---|---|
int |
ackSevereAlertThreshold
Number of seconds the distributed system will wait after the ack-wait-threshold for a message
to be acknowledged before it issues an alert at severe level.
|
int |
ackWaitThreshold
Number of seconds a distributed message can wait for acknowledgment before it sends an alert to signal
that something might be wrong with the system member that is unresponsive.
|
long |
asyncDistributionTimeout
The number of milliseconds a process that is publishing to this process should attempt to distribute
a cache operation before switching over to asynchronous messaging for this process.
|
int |
asyncMaxQueueSize
Affects non-conflated asynchronous queues for members that publish to this member.
|
long |
asyncQueueTimeout
Affects asynchronous queues for members that publish to this member.
|
String |
bindAddress
Relevant only for multi-homed hosts - machines with multiple network interface cards (NICs).
|
String |
cacheXmlFile
Declarative initialization file for the member’s cache.
|
String |
clusterConfigurationDirectory
This property specifies the directory in which the cluster configuration related disk-store and artifacts
are stored.
|
String |
conflateEvents
Used only by clients in a client/server installation.
|
boolean |
conserveSockets
Specifies whether sockets are shared by the system member’s threads.
|
boolean |
deltaPropagation
Specifies whether to distribute the deltas for entry updates, instead of the full values,
between clients and servers, and between peers.
|
String |
deployWorkingDirectory
Working directory used when deploying JAR application files to distributed system members.
|
boolean |
disableTcp
Boolean indicating whether to disable the use of TCP/IP sockets for inter-cache point-to-point messaging.
|
int |
distributedSystemId
Identifier used to distinguish messages from different distributed systems.
|
boolean |
enableNetworkPartitionDetection
Boolean instructing the system to detect and handle splits in the distributed system, typically caused by
a partitioning of the network (split brain) where the distributed system is running.
|
boolean |
enforceUniqueHost
Whether partitioned regions will put redundant copies of the same data in different members
running on the same physical machine.
|
String[] |
groups
Defines the list of groups that this member belongs to.
|
boolean |
loadClusterConfigurationFromDirectory
Setting this property to true causes loading of cluster configuration from the
cluster_config directory in the Locator.
|
long |
locatorWaitTimeout
The number of seconds that a member should wait for a Locator to start if a Locator is not available
when attempting to join the distributed system.
|
boolean |
lockMemory
When true, locks heap and off-heap memory into RAM to prevent the operating system from paging the memory
out to disk.
|
long |
maxWaitTimeReconnect
Maximum number of milliseconds to wait for the distributed system to reconnect on each reconnect attempt.
|
String |
membershipPortRange
The range of ports available for unicast UDP messaging and for TCP failure detection.
|
long |
memberTimeout
GemFire uses the member-timeout server configuration, specified in milliseconds, to detect
the abnormal termination of members.
|
String |
name
Configures the
name of this member in the Apache Geode/Pivotal GemFire distributed system
whether the member is a client in the client/server topology or a peer in the cluster. |
String |
redundancyZone
Defines this member’s redundancy zone.
|
String |
remoteLocators
Used to configure the Locators that a cluster will use in order to connect to a remote site in a multi-site
(WAN) configuration.
|
boolean |
removeUnresponsiveClient
When this property is set to true, the primary server drops unresponsive clients
from all secondaries and itself.
|
String[] |
serializableObjectFilter
A List of items that become full class names of objects that the system will serialize when the property
validateSerializableObjects() is set to true. |
int |
socketBufferSize
Receive buffer sizes in bytes of the TCP/IP connections used for data transmission.
|
long |
socketLeaseTime
Time, in milliseconds, a thread can have exclusive access to a socket it is not actively using.
|
int |
tcpPort
The TCP port to listen on for cache communications.
|
int |
tombstoneGcThreshold
The number of tombstones that can accumulate before the GemFire member triggers garbage collection
for tombstones.
|
int |
udpFragmentSize
Maximum fragment size, in bytes, for transmission over UDP unicast or multicast sockets.
|
int |
udpReceiveBufferSize
The size of the socket buffer used for incoming UDP point-to-point transmissions.
|
int |
udpSendBufferSize
The size of the socket buffer used for outgoing UDP point-to-point transmissions.
|
String |
userCommandPackages
A comma separated list of Java packages that contain classes implementing the Spring Shell
CommandMarker interface.
|
boolean |
validateSerializableObjects
A boolean that defaults to false.
|
public abstract int ackSevereAlertThreshold
public abstract int ackWaitThreshold
public abstract long asyncDistributionTimeout
public abstract int asyncMaxQueueSize
public abstract long asyncQueueTimeout
public abstract String bindAddress
public abstract String cacheXmlFile
public abstract String clusterConfigurationDirectory
public abstract String conflateEvents
public abstract boolean conserveSockets
public abstract boolean deltaPropagation
public abstract String deployWorkingDirectory
public abstract boolean disableTcp
public abstract int distributedSystemId
public abstract boolean enableNetworkPartitionDetection
public abstract boolean enforceUniqueHost
public abstract String[] groups
public abstract boolean loadClusterConfigurationFromDirectory
public abstract long locatorWaitTimeout
public abstract boolean lockMemory
public abstract long maxWaitTimeReconnect
PeerCacheApplication.enableAutoReconnect()
or CacheServerApplication.enableAutoReconnect()
must be set to true for this property to have any effect.
Defaults to 60000 milliseconds.public abstract long memberTimeout
public abstract String membershipPortRange
public abstract String redundancyZone
public abstract String remoteLocators
remote-locators=address1[port1],address2[port2]
remote-locators=hostName1@address1[port1],hostName2@address2[port2]
remote-locators=hostName1[port1],hostName2[port2]
Defaults to unset.public abstract boolean removeUnresponsiveClient
public abstract String[] serializableObjectFilter
validateSerializableObjects()
is set to true.
The list is expanded using the patterns specified in the createFilter method at
Class ObjectInputFilter.Config.
Defaults to unset.public abstract int socketBufferSize
public abstract long socketLeaseTime
public abstract int tcpPort
public abstract int tombstoneGcThreshold
public abstract int udpFragmentSize
public abstract int udpReceiveBufferSize
public abstract int udpSendBufferSize
public abstract String userCommandPackages
public abstract boolean validateSerializableObjects
serializableObjectFilter()
property will not be permitted to be deserialized.
An IncompatibleClassException is thrown for objects not listed. JDK 8 build 121 or a later build
must be installed to use this property. Servers and clients that do not meet this requirement
will throw an exception upon startup.
Defaults to false.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.