Class: Aerospike::IndexTask

Inherits:
Task
  • Object
show all
Defined in:
lib/aerospike/task/index_task.rb

Constant Summary collapse

MATCHER =
/.*load_pct=(?<load_pct>\d+(\.\d+)?).*/.freeze

Instance Method Summary collapse

Methods inherited from Task

#completed?, #wait_till_completed

Constructor Details

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

Returns a new instance of IndexTask.



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