Sha256: e06c15567e67dcdc1399ba5043270eca71c96978fe6a3d792942e56348be5c3b

Contents?: true

Size: 444 Bytes

Versions: 32

Compression:

Stored size: 444 Bytes

Contents

# frozen_string_literal: true

# 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

32 entries across 32 versions & 1 rubygems

Version Path
puppet-8.10.0 lib/puppet/http/pool_entry.rb
puppet-8.10.0-x86-mingw32 lib/puppet/http/pool_entry.rb
puppet-8.10.0-x64-mingw32 lib/puppet/http/pool_entry.rb
puppet-8.10.0-universal-darwin lib/puppet/http/pool_entry.rb
puppet-8.9.0 lib/puppet/http/pool_entry.rb
puppet-8.9.0-x86-mingw32 lib/puppet/http/pool_entry.rb
puppet-8.9.0-x64-mingw32 lib/puppet/http/pool_entry.rb
puppet-8.9.0-universal-darwin lib/puppet/http/pool_entry.rb
puppet-8.8.1 lib/puppet/http/pool_entry.rb
puppet-8.8.1-x86-mingw32 lib/puppet/http/pool_entry.rb
puppet-8.8.1-x64-mingw32 lib/puppet/http/pool_entry.rb
puppet-8.8.1-universal-darwin lib/puppet/http/pool_entry.rb
puppet-8.7.0 lib/puppet/http/pool_entry.rb
puppet-8.7.0-x86-mingw32 lib/puppet/http/pool_entry.rb
puppet-8.7.0-x64-mingw32 lib/puppet/http/pool_entry.rb
puppet-8.7.0-universal-darwin lib/puppet/http/pool_entry.rb
puppet-8.6.0 lib/puppet/http/pool_entry.rb
puppet-8.6.0-x86-mingw32 lib/puppet/http/pool_entry.rb
puppet-8.6.0-x64-mingw32 lib/puppet/http/pool_entry.rb
puppet-8.6.0-universal-darwin lib/puppet/http/pool_entry.rb