use of org.ovirt.engine.core.common.businessentities.VmStatistics in project ovirt-engine by oVirt.
the class ImportVmCommandBase method addVmStatistics.
private void addVmStatistics() {
VmStatistics stats = new VmStatistics(getVmId());
vmStatisticsDao.save(stats);
getCompensationContext().snapshotNewEntity(stats);
getCompensationContext().stateChanged();
}
use of org.ovirt.engine.core.common.businessentities.VmStatistics in project ovirt-engine by oVirt.
the class AddVmCommand method addVmStatistics.
private void addVmStatistics() {
VmStatistics stats = new VmStatistics(getVmId());
vmStatisticsDao.save(stats);
getCompensationContext().snapshotNewEntity(stats);
}
Aggregations