Class: Puppet::Environments::Cached::DefaultCacheExpirationService Private

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

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.

Instance Method Summary collapse

Instance Method Details

#created(env) ⇒ Object

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.

Called when the environment is created.

Parameters:



328
329
# File 'lib/puppet/environments.rb', line 328

def created(env)
end

#evicted(env_name) ⇒ Object

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.

The environment with this name was evicted.

Parameters:

  • env_name (Symbol)

    The symbolic environment name



342
343
# File 'lib/puppet/environments.rb', line 342

def evicted(env_name)
end

#expired?(env_name) ⇒ 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.

Is the environment with this name expired?

Parameters:

  • env_name (Symbol)

    The symbolic environment name

Returns:

  • (Boolean)


335
336
337
# File 'lib/puppet/environments.rb', line 335

def expired?(env_name)
  false
end