| org.apache.helix.lock.HelixLock | 
    
    
   Known Indirect Subclasses
  
      
      
  
        
              | ZKHelixLock | 
              Locking scheme for Helix that uses the ZooKeeper exclusive lock implementation
 Please use the following lock order convention: Cluster, Participant, Resource, Partition
 WARNING: this is not a reentrant lock
  | 
           
   
       
   
 | 
Class Overview
Generic (distributed) lock for Helix-related persisted updates
 
Summary
| Public Methods | 
	 
    
        | 
            abstract
            
            
            
            
            boolean
         | 
        
        isBlocked()
        
         Check if this object is blocked waiting on the lock 
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            boolean
         | 
        
        lock()
        
         Synchronously acquire a lock 
  
   | 
	 
    
        | 
            abstract
            
            
            
            
            boolean
         | 
        
        unlock()
        
         Release a lock 
  
   | 
 
Public Methods
 
    
      
        public 
         
         
        abstract 
         
        boolean
      
      isBlocked
      ()
    
      
    
      
  Check if this object is blocked waiting on the lock
 
  
      Returns
      - true if blocked, false otherwise
 
   
     
 
 
    
      
        public 
         
         
        abstract 
         
        boolean
      
      lock
      ()
    
      
    
      
  Synchronously acquire a lock
 
  
      Returns
      - true if the lock was acquired, false if could not be acquired
 
   
     
 
 
    
      
        public 
         
         
        abstract 
         
        boolean
      
      unlock
      ()
    
      
    
      
  
  
      Returns
      - true if the lock was released, false if it could not be released