Examples of SqlDatabase


Examples of org.syncany.database.SqlDatabase

  public RestoreOperation(Config config, RestoreOperationOptions options) {
    super(config, ACTION_ID);
   
    this.options = options;
    this.localDatabase = new SqlDatabase(config);
    this.downloader = new Downloader(config, transferManager);
  }
View Full Code Here

Examples of org.syncany.database.SqlDatabase

  private FileVersionComparator fileVersionComparator;
 
  public FileSystemActionReconciliator(Config config, ChangeSet changeSet) {
    this.config = config;
    this.changeSet = changeSet;
    this.localDatabase = new SqlDatabase(config);
    this.fileVersionComparator = new FileVersionComparator(config.getLocalDir(), config.getChunker().getChecksumAlgorithm());
  }
View Full Code Here

Examples of org.syncany.database.SqlDatabase

   
  public LsOperation(Config config, LsOperationOptions options) {
    super(config);   
   
    this.options = options;
    this.localDatabase = new SqlDatabase(config);
 
View Full Code Here

Examples of org.syncany.database.SqlDatabase

    super(config, ACTION_ID);

    this.eventBus = LocalEventBus.getInstance();   
    this.options = options;
    this.result = new UpOperationResult();
    this.localDatabase = new SqlDatabase(config);
    this.remoteTransaction = new RemoteTransaction(config, transferManager);
  }
View Full Code Here

Examples of org.syncany.database.SqlDatabase

    this.eventBus = LocalEventBus.getInstance();
   
    this.options = options;
    this.result = new DownOperationResult();

    this.localDatabase = new SqlDatabase(config);
    this.databaseReconciliator = new DatabaseReconciliator();
    this.databaseSerializer = new DatabaseXmlSerializer(config.getTransformer());
  }
View Full Code Here

Examples of org.syncany.database.SqlDatabase

  private LocalEventBus eventBus;

  public Indexer(Config config, Deduper deduper) {
    this.config = config;
    this.deduper = deduper;
    this.localDatabase = new SqlDatabase(config);

    this.eventBus = LocalEventBus.getInstance();
  }
View Full Code Here

Examples of org.syncany.database.SqlDatabase

 
  public StatusOperation(Config config, StatusOperationOptions options) {
    super(config);   
   
    this.fileVersionComparator = new FileVersionComparator(config.getLocalDir(), config.getChunker().getChecksumAlgorithm());
    this.localDatabase = new SqlDatabase(config);
    this.options = options;   
   
    this.eventBus = LocalEventBus.getInstance();
 
View Full Code Here

Examples of org.syncany.database.SqlDatabase

  public CleanupOperation(Config config, CleanupOperationOptions options) {
    super(config, ACTION_ID);

    this.options = options;
    this.result = new CleanupOperationResult();
    this.localDatabase = new SqlDatabase(config);
  }
View Full Code Here

Examples of org.syncany.database.SqlDatabase

  private LocalEventBus eventBus;
 
  public GetFileFolderRequestHandler(Config config) {
    super(config);   
   
    this.localDatabase = new SqlDatabase(config);
    this.eventBus = LocalEventBus.getInstance();
  }
View Full Code Here

Examples of org.syncany.database.SqlDatabase

    File reconstructedFileInCache = assembleFileToCache(reconstructedFileVersion);   
    moveFileToFinalLocation(reconstructedFileInCache, reconstructedFileVersion)
  }
 
  protected File assembleFileToCache(FileVersion reconstructedFileVersion) throws Exception {
    SqlDatabase localDatabase = new SqlDatabase(config);
    Assembler assembler = new Assembler(config, localDatabase, winningDatabase);

    File reconstructedFileInCache = assembler.assembleToCache(reconstructedFileVersion);
    
    setFileAttributes(reconstructedFileVersion, reconstructedFileInCache);
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.