Class: Gemfire::Installation
- Inherits:
-
Shared::Installation
- Object
- Shared::Resource
- Shared::Installation
- Gemfire::Installation
- 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
Instance Method Summary collapse
-
#agent_instances ⇒ AgentInstance[]
The agent instances that are using the installation.
-
#cache_server_instances ⇒ CacheServerInstance[]
The cache server instances that are using the installation.
-
#initialize(location, client) ⇒ Installation
constructor
A new instance of Installation.
-
#locator_instances ⇒ LocatorInstance[]
The locator instances that are using the installation.
Methods inherited from Shared::Installation
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_instances ⇒ AgentInstance[]
Returns 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_instances ⇒ CacheServerInstance[]
Returns the cache server instances that are using the installation.
43 44 45 |
# File 'lib/vas/gemfire/installations.rb', line 43 def cache_server_instances retrieve_instances("cache-server-group-instance", CacheServerInstance); end |
#locator_instances ⇒ LocatorInstance[]
Returns 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 |