Class: Gemfire::Installation

Inherits:
Shared::Installation show all
Defined in:
lib/vas/gemfire/installations.rb

Overview

A GemFire installation

Instance Attribute Summary

Attributes inherited from Shared::Installation

#group, #installation_image, #version

Attributes inherited from Shared::Resource

#location, #security

Instance Method Summary collapse

Methods inherited from Shared::Installation

#to_s

Constructor Details

#initialize(location, client) ⇒ Installation

Returns a new instance of Installation.



33
34
35
# File 'lib/vas/gemfire/installations.rb', line 33

def initialize(location, client)
  super(location, client, InstallationImage, Group)
end

Instance Method Details

#agent_instancesAgentInstance[]

Returns the agent instances that are using the installation.

Returns:

  • (AgentInstance[])

    the agent instances that are using the installation



38
39
40
# File 'lib/vas/gemfire/installations.rb', line 38

def agent_instances
  retrieve_instances("agent-group-instance", AgentInstance);
end

#cache_server_instancesCacheServerInstance[]

Returns the cache server instances that are using the installation.

Returns:



43
44
45
# File 'lib/vas/gemfire/installations.rb', line 43

def cache_server_instances
  retrieve_instances("cache-server-group-instance", CacheServerInstance);
end

#locator_instancesLocatorInstance[]

Returns the locator instances that are using the installation.

Returns:

  • (LocatorInstance[])

    the locator instances that are using the installation



48
49
50
# File 'lib/vas/gemfire/installations.rb', line 48

def locator_instances
  retrieve_instances("locator-group-instance", LocatorInstance);
end