public LockComponentBuilder setExclWrite() {
    component.setType(LockType.EXCL_WRITE);
    return this;
  }
Set the lock to be excl_write.
@return reference to this builder
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/LockComponentBuilder.java