public void setBackgroundCommand(boolean runInBackground) {
    isBackgroundCommand = (short) (runInBackground ? 1 : 0);
  }
Sets whether this is a command is a background command and will not block
other commands.

@param runInBackground
         {@code true} if this is a background command, {@code false}
         otherwise.
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostRoleCommandEntity.java