Method: Aerospike::IndexTask#initialize

Defined in:
lib/aerospike/task/index_task.rb

#initialize(cluster, namespace, index_name, done = false) ⇒ IndexTask

Returns a new instance of IndexTask.

[View source]

30
31
32
33
34
35
36
# File 'lib/aerospike/task/index_task.rb', line 30

def initialize(cluster, namespace, index_name, done=false)
  super(cluster, done)
  @namespace = namespace
  @index_name = index_name

  self
end