Class: Resque::Cluster

Inherits:
Object
  • Object
show all
Defined in:
lib/resque/cluster.rb,
lib/resque/cluster/member.rb,
lib/resque/cluster/version.rb

Overview

Distributed Pool is a clustered resque-pool

Defined Under Namespace

Classes: Member

Constant Summary collapse

VERSION =
'0.0.4'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



7
8
9
# File 'lib/resque/cluster.rb', line 7

def config
  @config
end

.memberObject

Returns the value of attribute member.



7
8
9
# File 'lib/resque/cluster.rb', line 7

def member
  @member
end

Class Method Details

.init(started_pool) ⇒ Object



9
10
11
# File 'lib/resque/cluster.rb', line 9

def init(started_pool)
  @member = Member.new(started_pool)
end