123456789_123456789_123456789_123456789_123456789_

Class: Rinda::RingServer::Renewer

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Instance Chain:
self, DRbUndumped
Inherits: Object
Defined in: lib/rinda/ring.rb

Overview

Special renewer for the ::Rinda::RingServer to allow shutdown

Class Method Summary

Instance Attribute Summary

Constructor Details

.newRenewer

[ GitHub ]

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

def initialize # :nodoc:
  @renew = true
end

Instance Attribute Details

#renew (rw)

[ GitHub ]

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

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

#renew=(value) (rw)

Set to false to shutdown future requests using this Renewer

[ GitHub ]

  
# File 'lib/rinda/ring.rb', line 51

attr_writer :renew