Class: Gemfire::Group

Inherits:
Shared::MutableGroup show all
Defined in:
lib/vas/gemfire/groups.rb

Overview

A GemFire group

Instance Attribute Summary collapse

Attributes inherited from Shared::Group

#installations, #name

Attributes inherited from Shared::Resource

#location, #security

Instance Method Summary collapse

Methods inherited from Shared::MutableGroup

#update

Methods inherited from Shared::Group

#nodes, #to_s

Constructor Details

#initialize(location, client) ⇒ Group



42
43
44
45
46
47
# File 'lib/vas/gemfire/groups.rb', line 42

def initialize(location, client)
  super(location, client, Node, Installations)
  @agent_instances = AgentInstances.new(Util::LinkUtils.get_link_href(details, "agent-group-instances"), client)
  @cache_server_instances = CacheServerInstances.new(Util::LinkUtils.get_link_href(details, "cache-server-group-instances"), client)
  @locator_instances = LocatorInstances.new(Util::LinkUtils.get_link_href(details, "locator-group-instances"), client)
end

Instance Attribute Details

#agent_instancesAgentInstances (readonly)



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

def agent_instances
  @agent_instances
end

#cache_server_instancesCacheServerInstances (readonly)



36
37
38
# File 'lib/vas/gemfire/groups.rb', line 36

def cache_server_instances
  @cache_server_instances
end

#locator_instancesLocatorInstances (readonly)



39
40
41
# File 'lib/vas/gemfire/groups.rb', line 39

def locator_instances
  @locator_instances
end