Class: MapRedus::QueueProcess

Inherits:
Object
  • Object
show all
Defined in:
lib/mapredus.rb

Overview

All Queue Processes should have a function called perform ensuring that when the class is put on the resque queue it can perform its work

Caution: defines redis, which is also defined in RedisSupport

Direct Known Subclasses

Finalizer, InputStream, Mapper, Master, Outputter, Reducer

Class Method Summary collapse

Class Method Details

.perform(*args) ⇒ Object

Raises:



44
# File 'lib/mapredus.rb', line 44

def self.perform(*args); raise InvalidProcess; end

.queueObject



43
# File 'lib/mapredus.rb', line 43

def self.queue; :mapredus; end