Class: Synapse::ZookeeperDnsWatcher::Messages::NewServers

Inherits:
Struct
  • Object
show all
Defined in:
lib/synapse/service_watcher/zookeeper_dns.rb

Overview

Indicates new servers identified by DNS names to be resolved. This is sent from Zookeeper on events that modify the ZK node. The payload is an array of hashes containing 'port', 'name'

Instance Attribute Summary collapse

Instance Attribute Details

#serversObject

Returns the value of attribute servers

Returns:

  • (Object)

    the current value of servers



32
33
34
# File 'lib/synapse/service_watcher/zookeeper_dns.rb', line 32

def servers
  @servers
end