Class: Puppet::Environments::Cached::Entry Private

Inherits:
Object
  • 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.

Never evicting entry

Direct Known Subclasses

NotCachedEntry, TTLEntry

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Entry

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 a new instance of Entry.



452
453
454
# File 'lib/puppet/environments.rb', line 452

def initialize(value)
  @value = value
end

Instance Attribute Details

#valueObject (readonly)

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.



450
451
452
# File 'lib/puppet/environments.rb', line 450

def value
  @value
end

Instance Method Details

#expired?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)


456
457
458
# File 'lib/puppet/environments.rb', line 456

def expired?
  false
end

#expiresObject

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.



464
465
466
# File 'lib/puppet/environments.rb', line 464

def expires
  END_OF_TIME
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.



460
461
462
# File 'lib/puppet/environments.rb', line 460

def label
  ""
end