Class: Puppet::Environments::Cached::NotCachedEntry Private

Inherits:
Entry
  • Object
show all
Defined in:
lib/puppet/environments.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Always evicting entry

API:

  • private

Instance Attribute Summary

Attributes inherited from Entry

#value

Instance Method Summary collapse

Methods inherited from Entry

#guard, #guarded?, #initialize, #touch, #unguard

Constructor Details

This class inherits a constructor from Puppet::Environments::Cached::Entry

Instance Method Details

#expired?(now) ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

API:

  • private



567
568
569
# File 'lib/puppet/environments.rb', line 567

def expired?(now)
  true
end

#labelObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

API:

  • private



571
572
573
# File 'lib/puppet/environments.rb', line 571

def label
  "(ttl = 0 sec)"
end