Search in sources :

Example 1 with RunAsyncActionParameters

use of org.ovirt.engine.core.common.action.RunAsyncActionParameters in project ovirt-engine by oVirt.

the class BackendResource method doNonBlockingAction.

protected void doNonBlockingAction(final ActionType task, final ActionParametersBase params) {
    BackendLocal backend = getBackend();
    setCorrelationId(params);
    setJobOrStepId(params);
    backend.runAction(ActionType.RunAsyncAction, sessionize(new RunAsyncActionParameters(task, sessionize(params))));
}
Also used : BackendLocal(org.ovirt.engine.core.common.interfaces.BackendLocal) RunAsyncActionParameters(org.ovirt.engine.core.common.action.RunAsyncActionParameters)

Aggregations

RunAsyncActionParameters (org.ovirt.engine.core.common.action.RunAsyncActionParameters)1 BackendLocal (org.ovirt.engine.core.common.interfaces.BackendLocal)1