start_keeper()
private
Creates a thread that scans the tuplespace for expired tuples.
Show source
def start_keeper
return if @keeper && @keeper.alive?
@keeper = Thread.new do
while true
synchronize do
break unless need_keeper?
keep_clean
end
sleep(@period)
end
end
end