Module: Aerospike::Node::Refresh::Reset

Defined in:
lib/aerospike/node/refresh/reset.rb

Overview

Reset a node before running a refresh cycle

Class Method Summary collapse

Class Method Details

.call(node) ⇒ Object



27
28
29
30
31
32
# File 'lib/aerospike/node/refresh/reset.rb', line 27

def call(node)
  node.reset_reference_count!
  node.reset_responded!
  node.partition_generation.reset_changed!
  node.rebalance_generation.reset_changed!
end