Class | Backup::Syncer::Cloud |
In: |
lib/backup/syncer/cloud.rb
|
Parent: | Base |
MUTEX | = | Mutex.new | Create a Mutex to synchronize certain parts of the code in order to prevent race conditions or broken STDOUT. |
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:
|
Instantiates a new Cloud Syncer object and sets the default configuration specified in the Backup::Configuration::Syncer::S3. Then it sets the object defaults if particular properties weren‘t set. Finally it‘ll evaluate the users configuration file and overwrite anything that‘s been defined.