lockConfig static method
void
lockConfig()
In your app initialization, call lockConfig if you want to lock the configuration, so that no one can change it anymore.
These are setters which you can use to configure and then lock:
ImmutableCollection.autoFlush
ImmutableCollection.disallowUnsafeConstructors
IList.defaultConfig
IList.flushFactor
ISet.defaultConfig
ISet.flushFactor
IMap.defaultConfig
IMap.flushFactor
IMapOfSets.defaultConfig
Implementation
static void lockConfig() => _isConfigLocked = true;