public MultiMapConfig(MultiMapConfig defConfig) { this.name = defConfig.getName(); this.valueCollectionType = defConfig.valueCollectionType; this.binary = defConfig.binary; this.syncBackupCount = defConfig.syncBackupCount; this.asyncBackupCount = defConfig.asyncBackupCount; this.statisticsEnabled = defConfig.statisticsEnabled; this.listenerConfigs = new ArrayList<EntryListenerConfig>(defConfig.getEntryListenerConfigs()); }
public Config addMultiMapConfig(MultiMapConfig multiMapConfig) { multiMapConfigs.put(multiMapConfig.getName(), multiMapConfig); return this; }