Examples of sync()


Examples of cleo.search.store.ArrayStoreConnections.sync()

                                         connTargetIdStart,
                                         connTargetIdCount);
   
    ConnectionsScanner scanner = new ConnectionsScanner(connectionsDir);
    scanner.scan(bootstrap);
    connectionsStore.sync();
   
    System.out.printf("Bootstrap done in %d ms%n", c.tick());
  }
}
View Full Code Here

Examples of cleo.search.store.ArrayStoreWeights.sync()

   
    Iterator<ConnectionsHandler> iter = multiHandler.iterator();
    while(iter.hasNext()) {
      ArrayStoreWeights weightedConnectionsStore;
      weightedConnectionsStore = ((WeightedConnectionsStoreConnectionsHandler)iter.next()).getWeightedConnectionsStore();
      weightedConnectionsStore.sync();
    }
   
    System.out.println();
    System.out.printf("Bootstrap done in %d seconds%n", c.getTotalTime()/1000);
  }
View Full Code Here

Examples of com.aelitis.azureus.core.pairing.PairingConnectionData.sync()

        try{         
          updatePairing( cd );
       
        }finally{
       
          cd.sync();
        }
      }
    }else{
     
      pairing_access_code   = null;
View Full Code Here

Examples of com.alimama.mdrill.hdfsDirectory.FileSystemDirectory.sync()

         }
        }
       
        if(dir!=null)
        {
          dir.sync(toSyncHdfs);
        }
        super.sync(toSync);
      }
   
 
View Full Code Here

Examples of com.arjuna.ats.arjuna.objectstore.ObjectStore.sync()

  System.out.println("time for "+threads+" users is "+timeTaken);

  try
  {
      store.sync();
  }
  catch (Exception ex)
  {
  }
View Full Code Here

Examples of com.attask.jenkins.templates.ImplementationBuildWrapper.sync()

                    String variablesAsPropertiesFile = squashVariables(variableValues);
                    ImplementationBuildWrapper implementationBuildWrapper = new ImplementationBuildWrapper(jobToClone.getName(), newJob.getName(), variablesAsPropertiesFile);
                    buildWrappersList.add(implementationBuildWrapper);
                    newJob.save();
                    result = newJob;
                    implementationBuildWrapper.sync();

                }
            }
        }
View Full Code Here

Examples of com.hp.hpl.jena.tdb.base.objectfile.ObjectFile.sync()

      if ( monitor != null ) monitor.tick();
    }

    nodeToId.sync();
    nodeToId.close();
    objects.sync();
    objects.close();   
  }
 
  public static void fixNodeTable2(Location location, Logger log, ProgressLogger monitor) throws IOException {
    String path = location.getDirectoryPath() ;
View Full Code Here

Examples of com.hp.hpl.jena.tdb.index.Index.sync()

          Bytes.setLong(id, record.getValue(), 0) ;
      nodeToId.add(record);
      if ( monitor != null ) monitor.tick();
    }

    nodeToId.sync();
    nodeToId.close();
    objects.sync();
    objects.close();   
  }
 
View Full Code Here

Examples of com.hp.hpl.jena.tdb.index.bplustree.BPlusTree.sync()

        Iterator<Tuple<Long>> it = tuples.iterator() ;
        Iterator<Record> iter = null ;
        try {
            iter = Iter.iter(it).map(transformTuple2Record) ;
            bpt2 = BPlusTreeRewriter.packIntoBPlusTree(iter, bptParams, recordFactory, blkMgrNodes, blkMgrRecords) ;
            bpt2.sync() ;
        } finally {
            Iter.close(it) ;
            Iter.close(iter) ;
        }
View Full Code Here

Examples of com.hp.hpl.jena.tdb.nodetable.NodeTable.sync()

            ObjectFile dataJrnl = FileFactory.createObjectFileDisk(objFilename) ;
            NodeTableTrans ntt = new NodeTableTrans(null, objFilename, baseNodeTable, new IndexMap(recordFactory), dataJrnl) ;
            ntt.append() ;
            ntt.close() ;
            dataJrnl.close() ;
            baseNodeTable.sync() ;
        }
        if ( jrnlFile.exists() )
            FileOps.delete(objFilename) ;
    }
   
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.