Sha256: 4325f317d481cb9d24665e8717cbc79644c147e6c061a24cfb7791312d9dc1ed

Contents?: true

Size: 413 Bytes

Versions: 148

Compression:

Stored size: 413 Bytes

Contents

# An entry in the peristent HTTP pool that references the connection and
# an expiration time for the connection.
#
# @api private
class Puppet::HTTP::PoolEntry
  attr_reader :connection, :verifier

  def initialize(connection, verifier, expiration_time)
    @connection = connection
    @verifier = verifier
    @expiration_time = expiration_time
  end

  def expired?(now)
    @expiration_time <= now
  end
end

Version data entries

148 entries across 148 versions & 1 rubygems

Version Path
puppet-7.34.0 lib/puppet/http/pool_entry.rb
puppet-7.34.0-x86-mingw32 lib/puppet/http/pool_entry.rb
puppet-7.34.0-x64-mingw32 lib/puppet/http/pool_entry.rb
puppet-7.34.0-universal-darwin lib/puppet/http/pool_entry.rb
puppet-7.33.0 lib/puppet/http/pool_entry.rb
puppet-7.33.0-x86-mingw32 lib/puppet/http/pool_entry.rb
puppet-7.33.0-x64-mingw32 lib/puppet/http/pool_entry.rb
puppet-7.33.0-universal-darwin lib/puppet/http/pool_entry.rb
puppet-7.32.1 lib/puppet/http/pool_entry.rb
puppet-7.32.1-x86-mingw32 lib/puppet/http/pool_entry.rb
puppet-7.32.1-x64-mingw32 lib/puppet/http/pool_entry.rb
puppet-7.32.1-universal-darwin lib/puppet/http/pool_entry.rb
puppet-7.31.0 lib/puppet/http/pool_entry.rb
puppet-7.31.0-x86-mingw32 lib/puppet/http/pool_entry.rb
puppet-7.31.0-x64-mingw32 lib/puppet/http/pool_entry.rb
puppet-7.31.0-universal-darwin lib/puppet/http/pool_entry.rb
puppet-7.30.0 lib/puppet/http/pool_entry.rb
puppet-7.30.0-x86-mingw32 lib/puppet/http/pool_entry.rb
puppet-7.30.0-x64-mingw32 lib/puppet/http/pool_entry.rb
puppet-7.30.0-universal-darwin lib/puppet/http/pool_entry.rb