Specifies the immutable attributes of a replicated environment.
To change the default settings for a replicated environment, an application creates a configuration object, customizes settings and uses it for {@link ReplicatedEnvironment} construction. The set methods of this class validatethe configuration values when the method is invoked. An IllegalArgumentException is thrown if the value is not valid for that attribute.
Note that ReplicationConfig only describes those attributes which must be set at {@code ReplicatedEnvironment} construction time, while its superclass{@link ReplicationMutableConfig} describes attributes that may be modifiedduring the life of the replication group.
ReplicationConfig follows precedence rules similar to those of {@link EnvironmentConfig}.
- Configuration parameters specified in {@literal /je.properties} take first precedence.
- Configuration parameters set in the ReplicationConfig object used at {@code ReplicatedEnvironment} construction are next.
- Any configuration parameters not set by the application are set to system defaults, described along with the parameter name String constants in this class.
After a {@code ReplicatedEnvironment} has been constructed, its mutableproperties may be changed using {@code ReplicatedEnvironment#setMutableConfig}. See {@code ReplicationMutableConfig} for a list of mutable properties; all otherproperties are immutable. Whether a property is mutable or immutable is also described along with the parameter name String constants in this class.
Getting the Current ReplicatedEnvironment Properties
To get the current "live" properties of a replicated environment after constructing it or changing its properties, you must call {@link ReplicatedEnvironment#getRepConfig} or {@link ReplicatedEnvironment#getRepMutableConfig}. The original ReplicationConfig or ReplicationMutableConfig object used to set the properties is not kept up to date as properties are changed, and does not reflect property validation or properties that are computed.