Module: CI::Queue::Redis

Defined in:
lib/ci/queue/redis.rb,
lib/ci/queue/redis/base.rb,
lib/ci/queue/redis/grind.rb,
lib/ci/queue/redis/retry.rb,
lib/ci/queue/redis/worker.rb,
lib/ci/queue/redis/monitor.rb,
lib/ci/queue/redis/supervisor.rb,
lib/ci/queue/redis/build_record.rb,
lib/ci/queue/redis/grind_record.rb,
lib/ci/queue/redis/grind_supervisor.rb,
lib/ci/queue/redis/test_time_record.rb

Defined Under Namespace

Classes: Base, BuildRecord, Grind, GrindRecord, GrindSupervisor, Monitor, Retry, Supervisor, TestTimeRecord, Worker

Constant Summary collapse

Error =
Class.new(StandardError)
LostMaster =
Class.new(Error)
ReservationError =
Class.new(Error)

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.requeue_offsetObject

Returns the value of attribute requeue_offset.



9
10
11
# File 'lib/ci/queue/redis/worker.rb', line 9

def requeue_offset
  @requeue_offset
end

Class Method Details

.from_uri(uri, config) ⇒ Object



27
28
29
# File 'lib/ci/queue/redis.rb', line 27

def from_uri(uri, config)
  new(uri.to_s, config)
end

.new(*args) ⇒ Object



23
24
25
# File 'lib/ci/queue/redis.rb', line 23

def new(*args)
  Worker.new(*args)
end