method

get_advisory_lock

rails latest stable - Class: ActiveRecord::ConnectionAdapters::AbstractAdapter
get_advisory_lock(lock_id)
public

This is meant to be implemented by the adapters that support advisory locks

Return true if we got the lock, otherwise false