Class: Rinda::RingServer::Renewer

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

Overview

Special renewer for the RingServer to allow shutdown

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRenewer

:nodoc:



53
54
55
# File 'lib/rinda/ring.rb', line 53

def initialize # :nodoc:
  @renew = true
end

Instance Attribute Details

#renewObject

:nodoc:



57
58
59
# File 'lib/rinda/ring.rb', line 57

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