public static final class MemoryTypes.Info.Builder extends Object
MemoryTypes.Info.| Constructor and Description |
|---|
MemoryTypes.Info.Builder(long sizeMiB,
boolean hotAddEnabled)
Constructor with parameters for the required properties of
MemoryTypes.Info. |
| Modifier and Type | Method and Description |
|---|---|
MemoryTypes.Info |
build() |
MemoryTypes.Info.Builder |
setHotAddIncrementSizeMiB(Long hotAddIncrementSizeMiB)
The granularity, in mebibytes, at which memory can be added to a running virtual
machine.
|
MemoryTypes.Info.Builder |
setHotAddLimitMiB(Long hotAddLimitMiB)
The maximum amount of memory, in mebibytes, that can be added to a running
virtual machine.
|
public MemoryTypes.Info.Builder(long sizeMiB,
boolean hotAddEnabled)
MemoryTypes.Info.public MemoryTypes.Info.Builder setHotAddIncrementSizeMiB(Long hotAddIncrementSizeMiB)
When adding memory to a running virtual machine, the amount of
memory added must be at least MemoryTypes.Info.getHotAddIncrementSizeMiB() and
the total memory size of the virtual machine must be a multiple of
.
MemoryTypes.Info.getHotAddEnabled() is true and
the virtual machine is running.hotAddIncrementSizeMiB - New value for the property.public MemoryTypes.Info.Builder setHotAddLimitMiB(Long hotAddLimitMiB)
MemoryTypes.Info.getHotAddEnabled() is true and
the virtual machine is running.hotAddLimitMiB - New value for the property.public MemoryTypes.Info build()
Copyright © 2016. All Rights Reserved.