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

:nodoc:



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

def initialize(location, client) #:nodoc:
  super(location, client, InstallationImage, Group)
end

Instance Method Details

#agent_instancesObject

An array of the agent instances that are using the installation



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

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

#cache_server_instancesObject

An array of the agent instances that are using the installation



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

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

#locator_instancesObject

An array of the locator instances that are using the installation



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

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