Module: Resque

Defined in:
lib/resque-unique_at_runtime.rb,
lib/resque/plugins/unique_at_runtime.rb,
lib/resque/unique_at_runtime/version.rb,
lib/resque/unique_at_runtime/configuration.rb,
lib/resque/unique_at_runtime/resque_ext/resque.rb

Overview

See lib/resque/plugins/unique_at_runtime.rb for the actual plugin

This is not that ^. Rather, it is an API used by the plugin or as tools by a

developer.  These methods are not intended to be included/extended into
Resque, Resque::Job, or Resque::Queue.

Defined Under Namespace

Modules: Plugins, UniqueAtRuntime

Class Method Summary collapse

Class Method Details

.running?(klass, *args) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/resque/unique_at_runtime/resque_ext/resque.rb', line 5

def running?(klass, *args)
  klass.queue_locked?(*args)
end