public LockData getPendingLock(String nodeId)
   {
      if (pendingLocks.contains(nodeId))
      {
         return lockedNodes.get(nodeId);
      }
      else
      {
         return null;
      }
   }
public LockData getPendingLock ( String nodeId ) { if ( pendingLocks . contains ( nodeId ) ) { return lockedNodes . get ( nodeId ) ; } else { return null ; } }
Return pending lock.

@param nodeId - ID of locked node
@return pending lock or null