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

API:

  • private

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.

API:

  • private



490
491
492
# File 'lib/puppet/environments.rb', line 490

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.

API:

  • private



488
489
490
# File 'lib/puppet/environments.rb', line 488

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:

API:

  • private



494
495
496
# File 'lib/puppet/environments.rb', line 494

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.

API:

  • private



502
503
504
# File 'lib/puppet/environments.rb', line 502

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.

API:

  • private



498
499
500
# File 'lib/puppet/environments.rb', line 498

def label
  ""
end