public class UpOperation extends AbstractTransferOperation
The general operation flow is as follows:
StatusOperationto determine any changed/new/deleted files
LsRemoteOperation, and skip the rest if there are
Indexerto create a new
DatabaseVersion(including new chunks, multichunks, file contents and file versions).
DatabaseVersionto a new (delta)
MemoryDatabaseand upload it
UpOperationOptions. If a sequence of transactions is interrupted, all queued transactions are written to disk to be resumed later. The next up operation then reads these transactions and resumes them in the same order as they were queued before the interruption.
|Modifier and Type||Field and Description|
actionHandler, eventBus, transferManager
|Constructor and Description|
|Modifier and Type||Method and Description|
Executes the operation synchronously and returns a result when the operation exits.
finishOperation, getLastRemoteCleanupNumber, getNewestDatabaseFileVersion, otherRemoteOperationsRunning, startOperation
public UpOperationResult execute() throws java.lang.Exception
Syncany is an open-source cloud storage and filesharing application.
Code located at https://github.com/syncany/syncany
JavaDoc for version 0.4.9-alpha generated based on commit f99e526 at Sun Apr 02 08:27:54 UTC 2017
Copyright © 2011-2015 Philipp C. Heckel