module DBLock::Adapter
Constants
- LockTimeout
Public Instance Methods
implementation()
click to toggle source
# File lib/db_lock/adapter.rb, line 12 def implementation case DBLock.db_handler.connection.adapter_name.downcase when 'mysql2' MYSQL.instance when 'postgresql' Postgres.instance when 'sqlserver' Sqlserver.instance else raise "#{DBLock.db_handler.connection.adapter_name} is not implemented" end end