Module: RQ

Defined in:
lib/rq/resourcemanager.rb,
lib/rq.rb,
lib/rq/job.rb,
lib/rq/qdb.rb,
lib/rq/cron.rb,
lib/rq/util.rb,
lib/rq/usage.rb,
lib/rq/backer.rb,
lib/rq/feeder.rb,
lib/rq/lister.rb,
lib/rq/locker.rb,
lib/rq/creator.rb,
lib/rq/deleter.rb,
lib/rq/logging.rb,
lib/rq/querier.rb,
lib/rq/relayer.rb,
lib/rq/rotater.rb,
lib/rq/toucher.rb,
lib/rq/updater.rb,
lib/rq/executor.rb,
lib/rq/ioviewer.rb,
lib/rq/jobqueue.rb,
lib/rq/resource.rb,
lib/rq/jobrunner.rb,
lib/rq/recoverer.rb,
lib/rq/refresher.rb,
lib/rq/submitter.rb,
lib/rq/configfile.rb,
lib/rq/mainhelper.rb,
lib/rq/sleepcycle.rb,
lib/rq/resubmitter.rb,
lib/rq/snapshotter.rb,
lib/rq/configurator.rb,
lib/rq/statuslister.rb,
lib/rq/jobrunnerdaemon.rb,
lib/rq/orderedautohash.rb

Overview

require ‘yaml’ require ‘yaml/store’ require ‘socket’

Defined Under Namespace

Modules: Logging, Usage, Util Classes: Backer, ConfigFile, Configurator, Creator, Cron, Deleter, Executor, Feeder, IOViewer, Job, JobQueue, JobRunner, JobRunnerDaemon, Lister, Locker, MainHelper, OrderedAutoHash, QDB, Querier, ReSubmitter, Recoverer, Refresher, Relayer, Resource, ResourceManager, Rotater, SleepCycle, Snapshotter, StatusLister, Submitter, Toucher, Updater

Constant Summary collapse

C =
Config::CONFIG
AUTHOR =
'[email protected]'
LIBNAME =
'rq'
VERSION =
'3.3.0'
LIBVER =
"#{ LIBNAME }-#{ VERSION }"
DIRNAME =
File::dirname(File::expand_path(__FILE__)) + File::SEPARATOR
ROOTDIR =
File::dirname(DIRNAME)
LIBDIR =

–{{{

File::dirname(File::expand_path(__FILE__)) + File::SEPARATOR
LOCALDIR =
File::join(LIBDIR, 'local') + File::SEPARATOR
LOCALBINDIR =
File::join(LOCALDIR, 'bin') + File::SEPARATOR
LOCALLIBDIR =
File::join(LOCALDIR, 'lib') + File::SEPARATOR
ARCH =
C['sitearch'] || C['arch']
ARCHLIBDIR =
File::join(LIBDIR, ARCH) + File::SEPARATOR
EXIT_SUCCESS =
0
EXIT_FAILURE =
1
INCDIR =
File::dirname(RQ::LIBDIR) + File::SEPARATOR