public class CreateSnapshotCommand<T extends ImagesActionsParametersBase> extends BaseImagesCommand<T>
Modifier and Type | Field and Description |
---|---|
protected DiskImage |
mNewCreatedDiskImage |
DesktopsInStoragePoolQuery, UpVdssInCluster, UpVdssInStoragePoolQuery
BYTES_IN_GB
Constructor and Description |
---|
CreateSnapshotCommand(T parameters) |
Modifier and Type | Method and Description |
---|---|
protected Guid |
ConcreteCreateTask(AsyncTaskCreationInfo asyncTaskCreationInfo,
VdcActionType parentCommand) |
protected boolean |
CreateSnapshotInIrsServer() |
protected void |
EndWithFailure() |
protected void |
executeCommand() |
protected Guid |
getDestinationStorageDomainId() |
protected ImagesContainterParametersBase |
getImagesContainterParameters() |
protected void |
ProcessOldImageFromDb()
By default old image must be replaced by new one
|
AddDiskImageToDb, AdditionalImageRemoveTreatment, CalculateImageDescription, CanCreateSnapshot, CheckImageValidity, CloneDiskImage, CompleteAdvancedDiskData, CompleteImageData, EndSuccessfully, getDestinationDiskImage, getDestinationImageId, getDiskImage, getDrive, getImage, GetImageChildren, getImageContainerId, getImageGroupId, getImageId, GetOtherImageMappedToSameDrive, InitImageContainer, LockImage, MarkImageAsIllegal, RemoveChildren, RemoveSnapshot, RemoveSnapshotFromDB, setDestinationImageId, setDiskImage, setImageContainerId, setImageGroupId, SetImageStatus, UndoActionOnSourceAndDestination, UnLockImage
canDetachDomain, canDoAction, changeStorageDomainStatusInTransaction, CheckMasterDomainIsUp, CheckStorageConnection, CheckStorageDomain, checkStorageDomainInDb, CheckStorageDomainNameLengthValid, CheckStorageDomainNotInPool, checkStorageDomainStatus, CheckStorageDomainStatusNotEqual, ConnectAllHostsToPool, DiconnectAllHostsInPool, electNewMaster, getPermissionCheckSubjects, getStorageDomainId, getStoragePool, isDetachAllowed, IsDomainActive, IsDomainActive, isNotLocalData, ProceedLUNInDb, RefreshAllVdssInPool, SetStorageDomainStatus
CalcStoragePoolStatusByDomainsStatus, checkDomainCanBeAttached, checkStorageDomainSharedStatusNotLocked, checkStorageDomainType, CheckStoragePool, CheckStoragePoolNameLengthValid, CheckStoragePoolStatus, CheckStoragePoolStatusNotEqual, getAllRunningVdssInPool, GetAllRunningVdssInPool, getMasterDomainIdFromDb, getSupportedStorageFormatSet, InitializeVds, isStorageDomainFormatCorrectForPool, isStorageDomainNotInPool, isStorageDomainNotNull, isStorageDomainTypeCorrect, runSynchronizeOperation, updateStoragePoolInDiffTransaction
acquireLock, addCanDoActionMessage, addCanDoActionMessage, addValidationGroup, CanDoActionOnly, compensate, CreateReturnValue, CreateTask, EndAction, endActionInTransactionScope, ExecuteAction, freeLock, getActionReturnValue, getActionState, getActionType, getBusinessEntitySnapshotDAO, getCommandShouldBeLogged, getCompensationContext, getDescription, getNow, getObjectLockingId, getParameters, getParametersForTask, getReturnValue, getSucceeded, GetTagsAttachedToObject, getTaskIdList, getTransactionScopeOption, getTransactionTimeout, getValidationGroups, IsBackwardsCompatible, isInternalExecution, IsUserAutorizedToRunAction, RevertTasks, Rollback, runInTransaction, runVdsCommand, setActionMessageParameters, setActionReturnValue, setCommandShouldBeLogged, setCompensationContext, setDescription, setInternalExecution, setSucceeded, UpdateTasksWithActionParameters, validateInputs
AddCustomValue, AppendCustomValue, DefaultLog, getAuditLogTypeValue, getCurrentUser, GetCustomValue, getCustomValues, getKey, getSnapshotName, getStorageDomain, getStorageDomainDAO, getStorageDomainName, getStoragePoolDAO, getStoragePoolId, getStoragePoolName, getUserId, getUserName, getVds, getVdsDAO, getVdsGroup, getVdsGroupDAO, getVdsGroupId, getVdsGroupName, getVdsId, getVdsIdRef, getVdsName, getVm, getVmDAO, getVmId, getVmIdRef, getVmName, getVmStaticDAO, getVmStatisticsDAO, getVmTemplate, getVmTemplateDAO, getVmTemplateId, getVmTemplateIdRef, getVmTemplateName, log, setCurrentUser, setSnapshotName, setStorageDomain, setStorageDomainId, setStoragePool, setStoragePoolId, setUserId, setUserName, setVds, setVdsGroup, setVdsGroupId, setVdsId, setVdsIdRef, setVdsName, setVm, setVmId, setVmName, setVmTemplate, setVmTemplateId, setVmTemplateName
getEndTime, getLegal, getTimeoutObjectId, getUseTimout, setEndTime, setTimeoutObjectId, setUseTimout
protected DiskImage mNewCreatedDiskImage
public CreateSnapshotCommand(T parameters)
protected ImagesContainterParametersBase getImagesContainterParameters()
protected void executeCommand()
executeCommand
in class BaseImagesCommand<T extends ImagesActionsParametersBase>
protected Guid getDestinationStorageDomainId()
protected boolean CreateSnapshotInIrsServer()
protected Guid ConcreteCreateTask(AsyncTaskCreationInfo asyncTaskCreationInfo, VdcActionType parentCommand)
ConcreteCreateTask
in class CommandBase<T extends ImagesActionsParametersBase>
protected void ProcessOldImageFromDb()
protected void EndWithFailure()
EndWithFailure
in class BaseImagesCommand<T extends ImagesActionsParametersBase>
Copyright © 2012. All Rights Reserved.