public class MigrationInfo extends QApiType
QApiTypeDescriptor{name=MigrationInfo, data={*status=MigrationStatus, *ram=MigrationStats, *disk=MigrationStats, *xbzrle-cache=XBZRLECacheStats, *total-time=int, *expected-downtime=int, *downtime=int, *setup-time=int, *x-cpu-throttle-percentage=int}, innerTypes=null}
Modifier and Type | Field and Description |
---|---|
MigrationStats |
disk |
Long |
downtime |
Long |
expectedDowntime |
MigrationStats |
ram |
Long |
setupTime |
MigrationStatus |
status |
Long |
totalTime |
XBZRLECacheStats |
xbzrleCache |
Long |
xCpuThrottlePercentage |
Constructor and Description |
---|
MigrationInfo() |
MigrationInfo(MigrationStatus status,
MigrationStats ram,
MigrationStats disk,
XBZRLECacheStats xbzrleCache,
Long totalTime,
Long expectedDowntime,
Long downtime,
Long setupTime,
Long xCpuThrottlePercentage) |
Modifier and Type | Method and Description |
---|---|
Object |
getFieldByName(String name) |
List<String> |
getFieldNames() |
MigrationInfo |
withDisk(MigrationStats value) |
MigrationInfo |
withDowntime(Long value) |
MigrationInfo |
withExpectedDowntime(Long value) |
MigrationInfo |
withRam(MigrationStats value) |
MigrationInfo |
withSetupTime(Long value) |
MigrationInfo |
withStatus(MigrationStatus value) |
MigrationInfo |
withTotalTime(Long value) |
MigrationInfo |
withXbzrleCache(XBZRLECacheStats value) |
MigrationInfo |
withXCpuThrottlePercentage(Long value) |
toString
@CheckForNull public MigrationStatus status
@CheckForNull public MigrationStats ram
@CheckForNull public MigrationStats disk
@CheckForNull public XBZRLECacheStats xbzrleCache
@CheckForNull public Long totalTime
@CheckForNull public Long expectedDowntime
@CheckForNull public Long downtime
@CheckForNull public Long setupTime
@CheckForNull public Long xCpuThrottlePercentage
public MigrationInfo()
public MigrationInfo(MigrationStatus status, MigrationStats ram, MigrationStats disk, XBZRLECacheStats xbzrleCache, Long totalTime, Long expectedDowntime, Long downtime, Long setupTime, Long xCpuThrottlePercentage)
@Nonnull public MigrationInfo withStatus(MigrationStatus value)
@Nonnull public MigrationInfo withRam(MigrationStats value)
@Nonnull public MigrationInfo withDisk(MigrationStats value)
@Nonnull public MigrationInfo withXbzrleCache(XBZRLECacheStats value)
@Nonnull public MigrationInfo withTotalTime(Long value)
@Nonnull public MigrationInfo withExpectedDowntime(Long value)
@Nonnull public MigrationInfo withDowntime(Long value)
@Nonnull public MigrationInfo withSetupTime(Long value)
@Nonnull public MigrationInfo withXCpuThrottlePercentage(Long value)
public List<String> getFieldNames()
getFieldNames
in class QApiType
public Object getFieldByName(@Nonnull String name) throws NoSuchFieldException
getFieldByName
in class QApiType
NoSuchFieldException