public void addAll(Collection<LockComponent> components) {
      for(LockComponent component: components) {
        add(component);
      }
    }
Add a collection with lock components to the lock request
@param components to add
@return reference to this builder
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/LockRequestBuilder.java