method

rotate

Importance_0
v2_4_6 - Show latest stable - 0 notes - Class: DRb::TimerIdConv::TimerHolder2
rotate() private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/drb/timeridconv.rb, line 68
      def rotate
        synchronize do
          if @expires &.< Time.now
            @gc = @renew      # GCed
            @renew = {}
            @expires = @gc.empty? ? nil : Time.now + @keeping
          end
        end
      end
Register or log in to add new notes.