public static class HostMemoryStatistics.Builder extends Object
Constructor and Description |
---|
Builder() |
public HostMemoryStatistics.Builder usage(Double usage)
public HostMemoryStatistics.Builder capacity(Double capacity)
public HostMemoryStatistics.Builder utilizationPercent(Double utilizationPercent)
public HostMemoryStatistics.Builder usageChangePercent(Double usageChangePercent)
public HostMemoryStatistics.Builder freeMemory(Double freeMemory)
public HostMemoryStatistics.Builder availableMemory(Double availableMemory)
public HostMemoryStatistics.Builder hugePagesTotal(Integer hugePagesTotal)
Total number of huge pages.
hugePagesTotal
- the value to setpublic HostMemoryStatistics.Builder hugePageSizeInMB(Double hugePageSizeInMB)
Size of huge pages in megabytes.
hugePageSizeInMB
- the value to setpublic HostMemoryStatistics.Builder hugePagesFree(Integer hugePagesFree)
Total number of available huge pages.
hugePagesFree
- the value to setpublic HostMemoryStatistics.Builder hugePagesReserved(Integer hugePagesReserved)
Total number of huge pages which are used or reserved.
hugePagesReserved
- the value to setpublic HostMemoryStatistics.Builder load(SummaryStatistics load)
public HostMemoryStatistics build()
public HostMemoryStatistics.Builder copy(HostMemoryStatistics model)
Copyright © 2016–2024. All rights reserved.