Class: Hyalite::ReconcileTransaction::MountReadyWrapper

Inherits:
Object
  • Object
show all
Includes:
TransactionWrapper
Defined in:
lib/hyalite/reconcile_transaction.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from TransactionWrapper

#init

Constructor Details

#initializeMountReadyWrapper

Returns a new instance of MountReadyWrapper.



20
21
22
# File 'lib/hyalite/reconcile_transaction.rb', line 20

def initialize
  @queue = CallbackQueue.new
end

Instance Attribute Details

#queueObject (readonly)

Returns the value of attribute queue.



18
19
20
# File 'lib/hyalite/reconcile_transaction.rb', line 18

def queue
  @queue
end

Instance Method Details

#closeObject



24
25
26
# File 'lib/hyalite/reconcile_transaction.rb', line 24

def close
  @queue.notify_all
end