private Map<String, Object> getMultiMasterProperties(
			Map<String, Object> properties) {
		String clusterConfigMode = Utils.toString(
				properties.get(PROP_CLUSTER_CONFIG_MODE), "election");
		if ("embedded".equals(clusterConfigMode)) {
			return null;
		} else if ("election".equals(clusterConfigMode)) {
			// perform an election and get the properties from the master node.
			// TODO
		}
		// is the config mode is not election or embedded, then its configured
		// on a per node
		// basis and already in the properties.
		// properties contain the master configuration.
		return properties;
	}
private Map < String , Object > getMultiMasterProperties ( Map < String , Object > properties ) { String clusterConfigMode = Utils . toString ( properties . get ( PROP_CLUSTER_CONFIG_MODE ) , "election" ) ; if ( "embedded" . equals ( clusterConfigMode ) ) { return null ; } else if ( "election" . equals ( clusterConfigMode ) ) { } return properties ; }
@param map
@return