示例#1
0
 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());
 }
示例#2
0
 public Config addMultiMapConfig(MultiMapConfig multiMapConfig) {
   multiMapConfigs.put(multiMapConfig.getName(), multiMapConfig);
   return this;
 }