Class Backup::Syncer::Cloud::Base
In: lib/backup/syncer/cloud/base.rb
Parent: Syncer::Base

Methods

new   perform!  

Classes and Modules

Class Backup::Syncer::Cloud::Base::LocalFile
Class Backup::Syncer::Cloud::Base::SyncContext

Constants

MUTEX = Mutex.new   Create a Mutex to synchronize certain parts of the code in order to prevent race conditions or broken STDOUT.

Attributes

concurrency_level  [RW]  Concurrency level - the number of threads or processors to use. Defaults to 2.
concurrency_type  [RW]  Concurrency setting - defaults to false, but can be set to:
  • :threads
  • :processes

Public Class methods

Instantiates a new Cloud Syncer object for either the Cloud::S3 or Cloud::CloudFiles Syncer.

Pre-configured defaults specified in either Configuration::Syncer::Cloud::S3 or Configuration::Syncer::Cloud::CloudFiles are set via a super() call to Syncer::Base.

If not specified in the pre-configured defaults, the Cloud specific defaults are set here before evaluating any block provided in the user‘s configuration file.

Public Instance methods

Performs the Sync operation

[Validate]