Class: Gemfire::Group

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

Overview

A tc Server 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

:nodoc:#



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

def initialize(location, client) #:nodoc:#
  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_instancesObject (readonly)

The group’s agent instances



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

def agent_instances
  @agent_instances
end

#cache_server_instancesObject (readonly)

The group’s cache server instances



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

def cache_server_instances
  @cache_server_instances
end

#locator_instancesObject (readonly)

The group’s locator instances



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

def locator_instances
  @locator_instances
end