Sha256: 73fa4f4afd0824fef096c47933480114970807ff1eb017126079cb9f4e4474a3
Contents?: true
Size: 443 Bytes
Versions: 20
Compression:
Stored size: 443 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
20 entries across 20 versions & 1 rubygems