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}.
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.
|
|
|
|