class Puppet::HTTP::PoolEntry

An entry in the peristent HTTP pool that references the connection and an expiration time for the connection.

@api private

Attributes

connection[R]
verifier[R]

Public Class Methods

new(connection, verifier, expiration_time) click to toggle source
   # File lib/puppet/http/pool_entry.rb
 9 def initialize(connection, verifier, expiration_time)
10   @connection = connection
11   @verifier = verifier
12   @expiration_time = expiration_time
13 end

Public Instance Methods

expired?(now) click to toggle source
   # File lib/puppet/http/pool_entry.rb
15 def expired?(now)
16   @expiration_time <= now
17 end