public static class HostMemoryUsage.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HostMemoryUsage.Builder |
anonHugePagesInKB(Double anonHugePagesInKB)
Amount of memory used for anon huge pages in kilobytes
|
HostMemoryUsage |
build() |
HostMemoryUsage.Builder |
copy(HostMemoryUsage model) |
HostMemoryUsage.Builder |
freeLogicalMemoryInKB(Double freeLogicalMemoryInKB)
Amount of avaiable virtual memory in kilobytes
|
HostMemoryUsage.Builder |
freeMemoryInKB(Double freeMemoryInKB)
Amount of available physical memory in kilobytes
|
HostMemoryUsage.Builder |
hugePagesFree(Integer hugePagesFree)
Number of available huge pages
|
HostMemoryUsage.Builder |
hugePagesReserved(Integer hugePagesReserved)
Number of reserved huge pages
|
HostMemoryUsage.Builder |
hugePagesSurplus(Integer hugePagesSurplus)
Number of surplus huge pages
|
HostMemoryUsage.Builder |
logicalMemoryUsedInGB(Double logicalMemoryUsedInGB)
Memory used excluding buffers and cache in gigabytes
|
HostMemoryUsage.Builder |
logicalMemoryUtilizationInPercent(Float logicalMemoryUtilizationInPercent)
Amount of logical memory used in percentage
|
HostMemoryUsage.Builder |
majorPageFaults(Integer majorPageFaults)
Number of major page faults
|
HostMemoryUsage.Builder |
memoryLoadInGB(Double memoryLoadInGB)
Load on memory in gigabytes
|
HostMemoryUsage.Builder |
memoryUsedInGB(Double memoryUsedInGB)
Amount of physical memory used in gigabytes
|
HostMemoryUsage.Builder |
memoryUtilizationInPercent(Float memoryUtilizationInPercent)
Amount of physical memory used in percentage
|
HostMemoryUsage.Builder |
realMemoryInKB(Double realMemoryInKB)
Amount of usable physical memory in kilobytes
|
HostMemoryUsage.Builder |
swapFreeInKB(Double swapFreeInKB)
Amount of available swap space in kilobytes
|
HostMemoryUsage.Builder |
timeCollected(Date timeCollected) |
public HostMemoryUsage.Builder timeCollected(Date timeCollected)
public HostMemoryUsage.Builder memoryUsedInGB(Double memoryUsedInGB)
Amount of physical memory used in gigabytes
memoryUsedInGB
- the value to setpublic HostMemoryUsage.Builder memoryUtilizationInPercent(Float memoryUtilizationInPercent)
Amount of physical memory used in percentage
memoryUtilizationInPercent
- the value to setpublic HostMemoryUsage.Builder memoryLoadInGB(Double memoryLoadInGB)
Load on memory in gigabytes
memoryLoadInGB
- the value to setpublic HostMemoryUsage.Builder realMemoryInKB(Double realMemoryInKB)
Amount of usable physical memory in kilobytes
realMemoryInKB
- the value to setpublic HostMemoryUsage.Builder freeMemoryInKB(Double freeMemoryInKB)
Amount of available physical memory in kilobytes
freeMemoryInKB
- the value to setpublic HostMemoryUsage.Builder logicalMemoryUsedInGB(Double logicalMemoryUsedInGB)
Memory used excluding buffers and cache in gigabytes
logicalMemoryUsedInGB
- the value to setpublic HostMemoryUsage.Builder logicalMemoryUtilizationInPercent(Float logicalMemoryUtilizationInPercent)
Amount of logical memory used in percentage
logicalMemoryUtilizationInPercent
- the value to setpublic HostMemoryUsage.Builder freeLogicalMemoryInKB(Double freeLogicalMemoryInKB)
Amount of avaiable virtual memory in kilobytes
freeLogicalMemoryInKB
- the value to setpublic HostMemoryUsage.Builder majorPageFaults(Integer majorPageFaults)
Number of major page faults
majorPageFaults
- the value to setpublic HostMemoryUsage.Builder swapFreeInKB(Double swapFreeInKB)
Amount of available swap space in kilobytes
swapFreeInKB
- the value to setpublic HostMemoryUsage.Builder anonHugePagesInKB(Double anonHugePagesInKB)
Amount of memory used for anon huge pages in kilobytes
anonHugePagesInKB
- the value to setpublic HostMemoryUsage.Builder hugePagesFree(Integer hugePagesFree)
Number of available huge pages
hugePagesFree
- the value to setpublic HostMemoryUsage.Builder hugePagesReserved(Integer hugePagesReserved)
Number of reserved huge pages
hugePagesReserved
- the value to setpublic HostMemoryUsage.Builder hugePagesSurplus(Integer hugePagesSurplus)
Number of surplus huge pages
hugePagesSurplus
- the value to setpublic HostMemoryUsage build()
public HostMemoryUsage.Builder copy(HostMemoryUsage model)
Copyright © 2016–2024. All rights reserved.