Class: Gemfire::CacheServerNodeInstance

Inherits:
Shared::NodeInstance show all
Defined in:
lib/vas/gemfire/cache_server_node_instances.rb

Overview

A cache server node instance

Instance Attribute Summary collapse

Attributes inherited from Shared::NodeInstance

#group_instance, #logs, #name, #node

Attributes inherited from Shared::Resource

#location, #security

Instance Method Summary collapse

Methods inherited from Shared::NodeInstance

#to_s

Methods inherited from Shared::StateResource

#start, #state, #stop

Constructor Details

#initialize(location, client) ⇒ CacheServerNodeInstance

:nodoc:



38
39
40
41
42
# File 'lib/vas/gemfire/cache_server_node_instances.rb', line 38

def initialize(location, client) #:nodoc:
  super(location, client, Node, CacheServerLogs, CacheServerInstance, 'cache-server-group-instance')
  @disk_stores = DiskStores.new(Util::LinkUtils.get_link_href(details, 'disk-stores'), client)
  @statistics = Statistics.new(Util::LinkUtils.get_link_href(details, 'statistics'), client)
end

Instance Attribute Details

#disk_storesObject (readonly)

The instance’s disk stores



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

def disk_stores
  @disk_stores
end

#statisticsObject (readonly)

The instance’s statistics



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

def statistics
  @statistics
end