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:


321
322
# File 'lib/puppet/environments.rb', line 321

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


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

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)

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

def expired?(env_name)
  false
end