Class: Rinda::RingServer::Renewer

Inherits:
Object
  • Object
show all
Includes:
DRbUndumped
Defined in:
lib/rinda2/ring/server.rb

Overview

Special renewer for the RingServer to allow shutdown

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRenewer

:nodoc:



40
41
42
# File 'lib/rinda2/ring/server.rb', line 40

def initialize # :nodoc:
  @renew = true
end

Instance Attribute Details

#renewObject

:nodoc:



44
45
46
# File 'lib/rinda2/ring/server.rb', line 44

def renew # :nodoc:
  @renew ? 1 : true
end