public LogOperation(Config config, LogOperationOptions options) { super(config); this.options = options; this.localDatabase = new SqlDatabase(config); }
public LsOperation(Config config, LsOperationOptions options) { super(config); this.options = options; this.localDatabase = new SqlDatabase(config); }
public GetFileHistoryFolderRequestHandler(Config config) { super(config); this.localDatabase = new SqlDatabase(config); }
public GetDatabaseVersionHeadersFolderRequestHandler(Config config) { super(config); this.localDatabase = new SqlDatabase(config); }
public UpOperation(Config config, UpOperationOptions options) { super(config, ACTION_ID); this.options = options; this.result = new UpOperationResult(); this.localDatabase = new SqlDatabase(config); this.resuming = false; this.transactionRemoteFileToResume = null; this.remoteTransactionsToResume = null; this.databaseVersionQueue = new LinkedBlockingQueue<>(); }
public Indexer(Config config, Deduper deduper) { this.config = config; this.deduper = deduper; this.localDatabase = new SqlDatabase(config, true); this.eventBus = LocalEventBus.getInstance(); }
public GetFileFolderRequestHandler(Config config) { super(config); this.localDatabase = new SqlDatabase(config); this.eventBus = LocalEventBus.getInstance(); }
public CleanupOperation(Config config, CleanupOperationOptions options) { super(config, ACTION_ID); this.options = options; this.result = new CleanupOperationResult(); this.localDatabase = new SqlDatabase(config); }
public LsRemoteOperation(Config config, TransferManager transferManager) { super(config); this.loadedTransferManager = transferManager; this.localDatabase = new SqlDatabase(config); this.eventBus = LocalEventBus.getInstance(); }
public WatchOperation(Config config, WatchOperationOptions options) { super(config); this.options = options; this.localDatabase = new SqlDatabase(config); this.watchThread = null; this.syncRunning = new AtomicBoolean(false); this.syncRequested = new AtomicBoolean(false); this.stopRequested = new AtomicBoolean(false); this.pauseRequested = new AtomicBoolean(false); this.upCount = new AtomicInteger(0); this.recursiveWatcher = null; this.notificationListener = null; this.eventBus = LocalEventBus.getInstance(); this.notificationChannel = StringUtil.toHex(config.getRepoId()); this.notificationInstanceId = "" + Math.abs(new Random().nextLong()); }
public RestoreOperation(Config config, RestoreOperationOptions options) { super(config, ACTION_ID); this.options = options; this.localDatabase = new SqlDatabase(config); this.downloader = new Downloader(config, transferManager); this.assembler = new Assembler(config, localDatabase, null); }
public DownOperation(Config config, DownOperationOptions options) { super(config, ACTION_ID); this.options = options; this.result = new DownOperationResult(); this.localDatabase = new SqlDatabase(config); this.databaseReconciliator = new DatabaseReconciliator(); this.databaseSerializer = new DatabaseXmlSerializer(config.getTransformer()); }
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()); }
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(); }