We can specify MapConfig from either static cluster-config.xml files or programmatically from code. While creating IMap instance from code,
1) Is it possible to change mapConfig after map initialization has been done.
2) Will such changes for example - backup count or max size reflect live on already partitioned map across nodes (leading to eviction of entries or creation of more backups). If this does not happen by default, will it be picked up on some next event threshold or can we trigger the new config changes to apply programmatically ?
Sample code
HazelcastInstance hazelcastInstance = Hazelcast.getHazelcastInstanceByName(instanceName);
Config config = hazelcastInstance.getConfig();
config.getMapConfig(name)
.setBackupCount(computedBackupCount)
.setMaxSizePolicy(MaxSizePolicy.PER_NODE).setSize(computedSize);