Class: Dynflow::Coordinator::ExecutionPlanCleanerLock
- Inherits:
 - 
      LockByWorld
      
        
- Object
 - Serializable
 - Record
 - Lock
 - LockByWorld
 - Dynflow::Coordinator::ExecutionPlanCleanerLock
 
 
- Defined in:
 - lib/dynflow/coordinator.rb
 
Constant Summary
Constants inherited from Serializable
Serializable::LEGACY_TIME_FORMAT, Serializable::TIME_FORMAT
Instance Attribute Summary
Attributes inherited from Record
Class Method Summary collapse
Instance Method Summary collapse
- 
  
    
      #initialize(world)  ⇒ ExecutionPlanCleanerLock 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ExecutionPlanCleanerLock.
 
Methods inherited from LockByWorld
inherited, unique_filter, valid_classes, valid_owner_ids, #validate!, #world_id
Methods inherited from Lock
constantize, #owner_id, #to_s, #unlock_on_shutdown?, #validate!
Methods inherited from Record
#==, constantize, #from_hash, #hash, #id, new_from_hash, #to_hash, #to_s, #validate!
Methods inherited from Serializable
constantize, from_hash, new_from_hash, #to_hash
Constructor Details
#initialize(world) ⇒ ExecutionPlanCleanerLock
Returns a new instance of ExecutionPlanCleanerLock.
      203 204 205 206  | 
    
      # File 'lib/dynflow/coordinator.rb', line 203 def initialize(world) super @data[:id] = self.class.lock_id end  | 
  
Class Method Details
.lock_id ⇒ Object
      208 209 210  | 
    
      # File 'lib/dynflow/coordinator.rb', line 208 def self.lock_id "execution-plan-cleaner" end  |