lib/aerospike/cluster.rb
def nodes
      @mutex.synchronize do
        # Must copy array reference for copy on write semantics to work.
        @cluster_nodes.dup
      end
    end
# Returns a list of all nodes in the cluster
Returns a list of all nodes in the cluster
Returns a list of all nodes in the cluster
def nodes
      @mutex.synchronize do
        @cluster_nodes.dup
      end
    end
def nodes @mutex . synchronize do @cluster_nodes . dup end end
Returns a list of all nodes in the cluster
Returns a list of all nodes in the cluster
# Must copy array reference for copy on write semantics to work.