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

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:

  • (Boolean)

560
561
562
# File 'lib/puppet/environments.rb', line 560

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.


564
565
566
# File 'lib/puppet/environments.rb', line 564

def label
  "(ttl = 0 sec)"
end