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
- .new ⇒ Renewer constructor
Instance Attribute Summary
- #renew rw
-
#renew=(value)
rw
Set to false to shutdown future requests using this
Renewer
.
Constructor Details
.new ⇒ Renewer
# 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
# File 'lib/rinda/ring.rb', line 51
attr_writer :renew