Method: Aerospike::Node#tend_connection

Defined in:
lib/aerospike/node.rb

#tend_connectionObject

Separate connection for refreshing


120
121
122
123
124
125
# File 'lib/aerospike/node.rb', line 120

def tend_connection
  if @tend_connection.nil? || @tend_connection.closed?
    @tend_connection = Cluster::CreateConnection.(cluster, host)
  end
  @tend_connection
end