Class: Gorgon::DefaultCallbacks

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

Instance Method Summary collapse

Instance Method Details

#after_completeObject



19
20
# File 'lib/gorgon/default_callbacks.rb', line 19

def after_complete
end

#after_creating_workersObject



16
17
# File 'lib/gorgon/default_callbacks.rb', line 16

def after_creating_workers
end

#after_job_finishesObject



22
23
# File 'lib/gorgon/default_callbacks.rb', line 22

def after_job_finishes
end

#after_syncObject



7
8
# File 'lib/gorgon/default_callbacks.rb', line 7

def after_sync
end

#before_creating_workersObject



10
11
# File 'lib/gorgon/default_callbacks.rb', line 10

def before_creating_workers
end

#before_originateObject

Returns cluster id. Cluster id is used to identify the queue in RabbitMQ.

Returns:

  • cluster id. Cluster id is used to identify the queue in RabbitMQ



4
5
# File 'lib/gorgon/default_callbacks.rb', line 4

def before_originate
end

#before_startObject



13
14
# File 'lib/gorgon/default_callbacks.rb', line 13

def before_start
end