class Amalgalite::BusyHandler
A base class for use in creating your own busy handler classes
Public Instance Methods
arity()
click to toggle source
the arity of the call method
# File lib/amalgalite/busy_timeout.rb, line 11 def arity() 1 ; end
call( count )
click to toggle source
Override this method, returning false
if the SQLite should
return SQLITE_BUSY for all parties involved in the lock, and anything else
if the lock attempt should be tried again.
# File lib/amalgalite/busy_timeout.rb, line 17 def call( count ) raise NotImplementedError, "The busy handler call(N) method must be implemented" end
to_proc()
click to toggle source
# File lib/amalgalite/busy_timeout.rb, line 6 def to_proc self end