Module: EM::Synchrony::ActiveRecord::Client

Included in:
ActiveRecord::ConnectionAdapters::EMMysql2Adapter::Client
Defined in:
lib/em-synchrony/activerecord.rb

Instance Method Summary collapse

Instance Method Details

#acquired_for_connection_poolObject


34
35
36
# File 'lib/em-synchrony/activerecord.rb', line 34

def acquired_for_connection_pool
  @acquired_for_connection_pool ||= 0
end

#acquired_for_connection_pool=(v) ⇒ Object


38
39
40
# File 'lib/em-synchrony/activerecord.rb', line 38

def acquired_for_connection_pool=(v)
  @acquired_for_connection_pool = v
end

#open_transactionsObject


26
27
28
# File 'lib/em-synchrony/activerecord.rb', line 26

def open_transactions
  @open_transactions ||= 0
end

#open_transactions=(v) ⇒ Object


30
31
32
# File 'lib/em-synchrony/activerecord.rb', line 30

def open_transactions=(v)
  @open_transactions = v
end