public abstract class VdsGroupOperationCommandBase<T extends VdsGroupOperationParameters> extends VdsGroupCommandBase<T>
Modifier and Type | Field and Description |
---|---|
static int |
GET_CPU_THRESHOLDS_FROM_CONFIGURATION |
BYTES_IN_GB, log
Constructor and Description |
---|
VdsGroupOperationCommandBase(T parameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
CheckMaxMemoryOverCommitValue() |
protected VDSGroup |
getVdsGroup() |
protected boolean |
isCpuUtilizationExist(int cpuUtilization) |
protected boolean |
isCpuUtilizationValid(int cpuUtilization) |
protected boolean |
validateMetrics() |
canDoAction, getPermissionCheckSubjects, getVdsGroupName
acquireLock, addCanDoActionMessage, addCanDoActionMessage, addValidationGroup, CanDoActionOnly, compensate, ConcreteCreateTask, CreateReturnValue, CreateTask, EndAction, endActionInTransactionScope, EndSuccessfully, EndWithFailure, ExecuteAction, executeCommand, 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, getStorageDomainId, getStorageDomainName, getStoragePool, getStoragePoolDAO, getStoragePoolId, getStoragePoolName, getUserId, getUserName, getVds, getVdsDAO, getVdsGroupDAO, getVdsGroupId, 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
public static final int GET_CPU_THRESHOLDS_FROM_CONFIGURATION
public VdsGroupOperationCommandBase(T parameters)
protected VDSGroup getVdsGroup()
getVdsGroup
in class VdsGroupCommandBase<T extends VdsGroupOperationParameters>
protected void CheckMaxMemoryOverCommitValue()
protected boolean isCpuUtilizationValid(int cpuUtilization)
protected boolean isCpuUtilizationExist(int cpuUtilization)
protected boolean validateMetrics()
Copyright © 2012. All Rights Reserved.