Package org.syncany.operations.down

Examples of org.syncany.operations.down.DownOperation


   
    logger.log(Level.INFO, "Sync up performance: "+timeSyncUpTotal+" ms");
   
    // Sync down B
    long timeSyncDownStart = System.currentTimeMillis();
    new DownOperation(configB).execute();
    long timeSyncDownEnd = System.currentTimeMillis();   
    long timeSyncDownTotal = timeSyncDownEnd - timeSyncDownStart;
   
    if (timeSyncDownTotal > 3000) {
      fail("Sync down took: "+timeSyncDownTotal+" ms");
View Full Code Here


     
      try {
        boolean notifyChanges = false;
       
        // Run down
        DownOperationResult downResult = new DownOperation(config, options.getDownOptions()).execute();
       
        if (downResult.getResultCode() == DownResultCode.OK_WITH_REMOTE_CHANGES) {
          // TODO [low] Do something?
        }
       
View Full Code Here

  public DownOperationResult down() throws Exception {
    return down(new DownOperationOptions());
  }

  public DownOperationResult down(DownOperationOptions options) throws Exception {
    return new DownOperation(config, options).execute();
  }
View Full Code Here

TOP

Related Classes of org.syncany.operations.down.DownOperation

Copyright © 2018 www.massapicom. 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.