Method: Gemfire::LocatorNodeInstance#port

Defined in:
lib/vas/gemfire/locator_node_instances.rb

#portInteger

Returns the port that the locator will listen on.

Returns:

  • (Integer)

    the port that the locator will listen on



38
39
40
# File 'lib/vas/gemfire/locator_node_instances.rb', line 38

def port
  client.get(location)['port']
end