Sets the map of {@link FencedLock} configurations, mapped by config
name. Names could optionally contain a {@link CPGroup} name, such as
"myLock@group1".

@param lockConfigs the {@link FencedLock} config map to set
@return this config instance
975459
public CPSubsystemConfig setLockConfigs(Map<String, FencedLockConfig> lockConfigs) {
        this.lockConfigs.clear();
        this.lockConfigs.putAll(lockConfigs);
        for (Entry<String, FencedLockConfig> entry : this.lockConfigs.entrySet()) {
            entry.getValue().setName(entry.getKey());
        }
        return this;
    }
1352260
public ABlockStmIR consComplexCompIterationBlock(
			List<SMultipleBindIR> multipleSetBinds, ITempVarGen tempGen,
			IIterationStrategy strategy, IterationVarPrefixes iteVarPrefixes)
			throws AnalysisException
	{
		ABlockStmIR outerBlock = new ABlockStmIR();

		ABlockStmIR nextMultiBindBlock = outerBlock;

		for (SMultipleBindIR bind : multipleSetBinds)
		{
			if (hasEmptySet(bind))
			{
				multipleSetBinds.clear();
				return outerBlock;
			}
		}

		strategy.setFirstBind(true);

		for (int i = 0; i < multipleSetBinds.size(); i++)
		{
			strategy.setLastBind(i == multipleSetBinds.size() - 1);

			SMultipleBindIR mb = multipleSetBinds.get(i);

			if (mb instanceof ASetMultipleBindIR)
			{
				nextMultiBindBlock = consIterationBlock(nextMultiBindBlock, mb.getPatterns(), ((ASetMultipleBindIR) mb).getSet(), tempGen, strategy, iteVarPrefixes);
			} else if (mb instanceof ASeqMultipleBindIR)
			{
				nextMultiBindBlock = consIterationBlock(nextMultiBindBlock, mb.getPatterns(), ((ASeqMultipleBindIR) mb).getSeq(), tempGen, strategy, iteVarPrefixes);
			} else
			{
				log.error("Expected set multiple bind or sequence multiple bind. Got: "
						+ mb);
			}

			strategy.setFirstBind(false);
		}

		return outerBlock;
	}
448869
public MemberConfig setProperties(Map<String, String> map) {
    Properties properties = new Properties();
    properties.putAll(map);
    return setProperties(properties);
  }
576036
public Set<String> keySet() {

		// Copy key set, so return value is independent from the object's internal data structure
		final Set<String> retVal = new HashSet<String>();

		synchronized (this.confData) {

			final Iterator<String> it = this.confData.keySet().iterator();
			while (it.hasNext()) {
				retVal.add(it.next());
			}
		}

		return retVal;
	}
89365
protected function getConfigBlock()
    {
        $designPackage = Mage::getSingleton('core/design_package');
        $designPackage->setArea('shell');
        $block = Mage::app()->getLayout()->createBlock('ecomdev_varnish/vcl_config');
        return $block;
    }
721095
public java.util.List<EbsBlockDeviceConfig> getEbsBlockDeviceConfigs() {
        if (ebsBlockDeviceConfigs == null) {
            ebsBlockDeviceConfigs = new com.amazonaws.internal.SdkInternalList<EbsBlockDeviceConfig>();
        }
        return ebsBlockDeviceConfigs;
    }
566902
public Set<Long> getLockedBlocks() {
    synchronized (mSharedMapsLock) {
      Set<Long> set = new HashSet<>();
      for (LockRecord lockRecord : mLockIdToRecordMap.values()) {
        set.add(lockRecord.getBlockId());
      }
      return set;
    }
  }
31667
public CacheConfig<K, V> setEvictionConfig(EvictionConfig evictionConfig) {
        isNotNull(evictionConfig, "evictionConfig");

        // TODO: remove this check in the future since "CacheEvictionConfig" is deprecated
        if (evictionConfig instanceof CacheEvictionConfig) {
            this.evictionConfig = (CacheEvictionConfig) evictionConfig;
        } else {
            this.evictionConfig = new CacheEvictionConfig(evictionConfig);
        }

        return this;
    }
891157
public function setLockMapping(array &$mapping) : void
    {
        if ($mapping['type'] !== 'int') {
            throw LockException::invalidLockFieldType($mapping['type']);
        }

        $this->isLockable = true;
        $this->lockField  = $mapping['fieldName'];
    }
1362482
public static void setFessConfig(final FessConfig fessConfig) {
        ComponentUtil.fessConfig = fessConfig;
        if (fessConfig == null) {
            FessProp.propMap.clear();
            componentMap.clear();
        }
    }
692626
protected void addOnSetup(Map<String, Object> configMap) {
        Set<SortEntry> addOnSorts = Sets.newTreeSet();
        for (String key : configMap.keySet()) {
            if (key.startsWith(ADDON_CONF_PREFIX)) {
                String className = (String) configMap.get(key);
                if (StringUtils.isNotBlank(className)) {
                    String name = key.substring(ADDON_CONF_PREFIX.length());

                    int sortSp = name.lastIndexOf(">");
                    Integer sortPriority = 1000;
                    if (sortSp != -1) {
                        String sortStr = name.substring(sortSp + 1);
                        if (sortStr.equalsIgnoreCase("last")) {
                            sortPriority = Integer.MAX_VALUE;
                        } else {
                            sortPriority = Ints.tryParse(sortStr);
                            if (sortPriority == null || sortPriority < 0 || sortPriority > Integer.MAX_VALUE) {
                                throw new ConfigErrorException(
                                        Messages.get("info.addon.key.priority.error", Integer.MAX_VALUE, key)
                                );
                            }
                        }
                    }

                    if (sortSp != -1) {
                        name = name.substring(0, sortSp);
                    }

                    addOnSorts.add(new SortEntry(sortPriority, className, name, key));
                }
            }
        }

        for (SortEntry entry : addOnSorts) {
            logger.debug(Messages.get("info.addon.register.item", entry.key, entry.className));
            try {
                Class addOnClass = ClassUtils.getClass(entry.className);
                if (Addon.class.isAssignableFrom(addOnClass)) {
                    Addon addon = (Addon) addOnClass.newInstance();
                    if (addon.isEnabled(this) && addons.add(addon)) {
                        addon.setup(this);
                    }
                } else {
                    throw new ConfigErrorException(Messages.get("info.addon.register.error.interface", entry.name, entry.key));
                }
            } catch (ClassNotFoundException e) {
                throw new ConfigErrorException(Messages.get("info.addon.register.error.not.found", entry.name, entry.key));
            } catch (InstantiationException | IllegalAccessException e) {
                throw new ConfigErrorException(Messages.get("info.addon.register.error.init", entry.name, entry.key));
            } catch (Exception e) {
                logger.error(Messages.get("info.addon.register.error", entry.name, entry.key), e);
            }
        }
    }
928632
public void setStaleSecurityGroupSet(java.util.Collection<StaleSecurityGroup> staleSecurityGroupSet) {
        if (staleSecurityGroupSet == null) {
            this.staleSecurityGroupSet = null;
            return;
        }

        this.staleSecurityGroupSet = new com.amazonaws.internal.SdkInternalList<StaleSecurityGroup>(staleSecurityGroupSet);
    }
678009
public Config setPNCounterConfigs(Map<String, PNCounterConfig> pnCounterConfigs) {
        this.pnCounterConfigs.clear();
        this.pnCounterConfigs.putAll(pnCounterConfigs);
        for (Entry<String, PNCounterConfig> entry : pnCounterConfigs.entrySet()) {
            entry.getValue().setName(entry.getKey());
        }
        return this;
    }
1170260
public AtomixConfig setPartitionGroups(Map<String, PartitionGroupConfig<?>> partitionGroups) {
    partitionGroups.forEach((name, group) -> group.setName(name));
    this.partitionGroups = partitionGroups;
    return this;
  }
179344
public void setCidrBlockSet(java.util.Collection<CidrBlock> cidrBlockSet) {
        if (cidrBlockSet == null) {
            this.cidrBlockSet = null;
            return;
        }

        this.cidrBlockSet = new com.amazonaws.internal.SdkInternalList<CidrBlock>(cidrBlockSet);
    }
227468
public void setConfig(LWMConfig config) 
    {
    	// Store away the custom groups associated with the ME
    	
    	HashSet <String> customGrps = new HashSet <String>();
    	List l = new ArrayList<String>();
    	String str =((JsMEConfig) config).getMessagingEngine().getName();
     	l.add(str);
    	customGrps.addAll(l);
    	CUSTOM_GROUPS.put(_messagingEngine.getUuid().toString(), customGrps);
    	_messagingEngine.getName();
    }
581638
private static void setConfigurationFromSystemProperties(Configuration configuration,
      PropertyKey[] propertyNames) {
    for (PropertyKey propertyName : propertyNames) {
      setConfigurationFromSystemProperty(configuration, propertyName.toString());
    }
  }