Class: Gemfire::Node
- Inherits:
-
Shared::GroupableNode
- Object
- Shared::Resource
- Shared::Node
- Shared::GroupableNode
- Gemfire::Node
- Defined in:
- lib/vas/gemfire/nodes.rb
Overview
A GemFire node
Instance Attribute Summary collapse
-
#java_home ⇒ Object
readonly
The Node’s Java home.
Attributes inherited from Shared::Node
#agent_home, #architecture, #host_names, #ip_addresses, #metadata, #operating_system
Attributes inherited from Shared::Resource
Instance Method Summary collapse
-
#agent_instances ⇒ Object
The node’s agent instances.
-
#cache_server_instances ⇒ Object
The node’s cache server instances.
-
#initialize(location, client) ⇒ Node
constructor
:nodoc:.
-
#locator_instances ⇒ Object
The node’s locator instances.
-
#to_s ⇒ Object
:nodoc:.
Methods inherited from Shared::GroupableNode
Constructor Details
Instance Attribute Details
#java_home ⇒ Object (readonly)
The Node’s Java home
33 34 35 |
# File 'lib/vas/gemfire/nodes.rb', line 33 def java_home @java_home end |
Instance Method Details
#agent_instances ⇒ Object
The node’s agent instances
41 42 43 |
# File 'lib/vas/gemfire/nodes.rb', line 41 def agent_instances @instances = AgentNodeInstances.new(Util::LinkUtils.get_link_href(details, "agent-node-instances"), client) end |
#cache_server_instances ⇒ Object
The node’s cache server instances
46 47 48 |
# File 'lib/vas/gemfire/nodes.rb', line 46 def cache_server_instances @instances = CacheServerNodeInstances.new(Util::LinkUtils.get_link_href(details, "cache-server-node-instances"), client) end |
#locator_instances ⇒ Object
The node’s locator instances
51 52 53 |
# File 'lib/vas/gemfire/nodes.rb', line 51 def locator_instances @instances = LocatorNodeInstances.new(Util::LinkUtils.get_link_href(details, "locator-node-instances"), client) end |
#to_s ⇒ Object
:nodoc:
55 56 57 |
# File 'lib/vas/gemfire/nodes.rb', line 55 def to_s #:nodoc: "#<#{self.class} host_names='#{host_names}' ip_addresses='#{ip_addresses}' operating_system='#{}' architecture='#{architecture}' agent_home='#{agent_home}' java_home='#{java_home}' metadata='#{}'>" end |