Examples of store()


Examples of org.eclipse.egit.core.project.GitProjectData.store()

        RepositoryMapping actualMapping= findActualRepository(repos, suggestedRepo);
        if (actualMapping != null) {
          GitProjectData projectData = new GitProjectData(project);
          try {
            projectData.setRepositoryMappings(Arrays.asList(actualMapping));
            projectData.store();
            GitProjectData.add(project, projectData);
          } catch (CoreException ce) {
            try {
              GitProjectData.delete(project);
            } catch (IOException e) {
View Full Code Here

Examples of org.eclipse.jface.preference.FieldEditor.store()

  private void storeFieldEditors() {
    for (Iterator<FieldEditor> i = this.fieldEditors.iterator(); i.hasNext();) {
      FieldEditor fieldEditor = (FieldEditor) i.next();
      if (fieldEditor != null) {
        fieldEditor.setPreferenceStore(this.store);
        fieldEditor.store();
      }
    }
  }

  /**
 
View Full Code Here

Examples of org.elasticsearch.action.admin.indices.stats.IndicesStatsRequest.store()

     */
    protected CountDownLatch updateIndicesStats(final ActionListener<IndicesStatsResponse> listener) {
        final CountDownLatch latch = new CountDownLatch(1);
        final IndicesStatsRequest indicesStatsRequest = new IndicesStatsRequest();
        indicesStatsRequest.clear();
        indicesStatsRequest.store(true);

        transportIndicesStatsAction.execute(indicesStatsRequest, new LatchedActionListener<>(listener, latch));
        return latch;
    }

View Full Code Here

Examples of org.elasticsearch.index.service.IndexService.store()

            if (indexService == null) {
                // we handle this later...
                continue;
            }
            // if the store is not persistent, don't bother trying to check if it can be deleted
            if (!indexService.store().persistent()) {
                continue;
            }
            for (IndexShardRoutingTable indexShardRoutingTable : indexRoutingTable) {
                // if it has been created on this node, we don't want to delete it
                if (indexService.hasShard(indexShardRoutingTable.shardId().id())) {
View Full Code Here

Examples of org.elasticsearch.index.shard.service.IndexShard.store()

                if (entry.primary() && entry.started()) {
                    // only recover from started primary, if we can't find one, we will do it next round
                    final DiscoveryNode sourceNode = nodes.get(entry.currentNodeId());
                    try {
                        // we are recovering a backup from a primary, so no need to mark it as relocated
                        final StartRecoveryRequest request = new StartRecoveryRequest(indexShard.shardId(), sourceNode, nodes.localNode(), false, indexShard.store().list());
                        recoveryTarget.startRecovery(request, false, new PeerRecoveryListener(request, shardRouting, indexService));
                    } catch (Exception e) {
                        handleRecoveryFailure(indexService, shardRouting, true, e);
                        break;
                    }
View Full Code Here

Examples of org.elasticsearch.index.shard.service.InternalIndexShard.store()

                if (entry.primary() && entry.started()) {
                    // only recover from started primary, if we can't find one, we will do it next round
                    final DiscoveryNode sourceNode = nodes.get(entry.currentNodeId());
                    try {
                        // we are recovering a backup from a primary, so no need to mark it as relocated
                        final StartRecoveryRequest request = new StartRecoveryRequest(indexShard.shardId(), sourceNode, nodes.localNode(), false, indexShard.store().list());
                        recoveryTarget.startRecovery(request, false, new PeerRecoveryListener(request, shardRouting, indexService));
                    } catch (Exception e) {
                        handleRecoveryFailure(indexService, shardRouting, true, e);
                        break;
                    }
View Full Code Here

Examples of org.erlide.backend.runtimeinfo.RuntimeInfoPreferencesSerializer.store()

            restart = RestartDialog.openQuestion(getShell());
        }

        catalog.setRuntimes(runtimes, defaultRuntime.getName(), erlideRuntime.getName());
        final RuntimeInfoPreferencesSerializer serializer = new RuntimeInfoPreferencesSerializer();
        serializer.store(new RuntimeInfoCatalogData(runtimes, defaultRuntime.getName(),
                erlideRuntime.getName()));

        // save column widths
        final IDialogSettings settings = ErlideUIPlugin.getDefault().getDialogSettings();
        saveColumnSettings(settings, RUNTIMES_PREFERENCE_PAGE);
View Full Code Here

Examples of org.evolizer.famix.importer.util.DAOModel.store()

                modelToDelete.deleteModel();
            }
            progress.worked(20);
           
            DAOModel newDAOModel = new DAOModel(fDBUrl, fFamixModel);
            newDAOModel.store(progress.newChild(60));
        } catch (EvolizerRuntimeException ere) {
            sfLogger.error("Error storing FAMIX" , ere);
        } catch (EvolizerException ee) {
            sfLogger.error("Error storing FAMIX" , ee);
        } finally {
View Full Code Here

Examples of org.exist.collections.Collection.store()

            final XmldbURI name = XmldbURI.createInternal("repo.xml");
            final IndexInfo info = collection.validateXMLResource(txn, broker, name, updatedXML);
            final Permission permission = info.getDocument().getPermissions();
            setPermissions(false, MimeType.XML_TYPE, permission);

            collection.store(txn, broker, info, updatedXML, false);

            mgr.commit(txn);
        } catch (final Exception e) {
            mgr.abort(txn);
        } finally {
View Full Code Here

Examples of org.exist.memtree.DOMIndexer.store()

            targetDoc.setMetadata(metadata);
            targetDoc.setDocId(getNextResourceId(transaction, temp));
            //index the temporary document
            final DOMIndexer indexer = new DOMIndexer(this, transaction, doc, targetDoc); //NULL transaction, so temporary fragment is not journalled - AR
            indexer.scan();
            indexer.store();
            //store the temporary document
            temp.addDocument(transaction, this, targetDoc); //NULL transaction, so temporary fragment is not journalled - AR
            // unlock the temp collection
            if(transaction == null) {
                temp.getLock().release(Lock.WRITE_LOCK);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.