Package net.webpdf.wsclient.openapi
Class AdminOsStatus
- java.lang.Object
-
- net.webpdf.wsclient.openapi.AdminOsStatus
-
public class AdminOsStatus extends Object
Provides information about the operating system on which the server is running
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CONTAINERstatic StringJSON_PROPERTY_CPU_LOGICAL_PROCESSORSstatic StringJSON_PROPERTY_MEMORY_COMMITTED_VIRTUAL_SIZEstatic StringJSON_PROPERTY_MEMORY_FREEstatic StringJSON_PROPERTY_MEMORY_FREE_SWAP_SIZEstatic StringJSON_PROPERTY_MEMORY_TOTALstatic StringJSON_PROPERTY_MEMORY_TOTAL_SWAP_SIZEstatic StringJSON_PROPERTY_OS_ARCHITECTUREstatic StringJSON_PROPERTY_OS_NAMEstatic StringJSON_PROPERTY_OS_VERSIONstatic StringJSON_PROPERTY_PROCESS_CPU_LOADstatic StringJSON_PROPERTY_SYSTEM_LOAD_AVERAGE
-
Constructor Summary
Constructors Constructor Description AdminOsStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdminOsStatuscontainer(AdminOsStatusContainer container)AdminOsStatuscpuLogicalProcessors(Integer cpuLogicalProcessors)booleanequals(Object o)@Nullable AdminOsStatusContainergetContainer()Get container@Nullable IntegergetCpuLogicalProcessors()The number of logical processors available to the application@Nullable LonggetMemoryCommittedVirtualSize()The amount of virtual memory that is guaranteed to be available to the application in bytes@Nullable LonggetMemoryFree()The amount of free memory in bytes@Nullable LonggetMemoryFreeSwapSize()The amount of free swap space in bytes@Nullable LonggetMemoryTotal()The total amount of memory in bytes@Nullable LonggetMemoryTotalSwapSize()The total amount of swap space in bytes@Nullable StringgetOsArchitecture()The operating system´s architecture@Nullable StringgetOsName()The name of the operating system, the server is running on@Nullable StringgetOsVersion()The operating system´s version number@Nullable DoublegetProcessCpuLoad()The recent CPU usage of the JVM with a value between 0.0 and 1.0 (a value of 1.0 means that threads were actively executed on all CPUs)@Nullable DoublegetSystemLoadAverage()The system load average for the last minute (or a negative value if not available)inthashCode()AdminOsStatusmemoryCommittedVirtualSize(Long memoryCommittedVirtualSize)AdminOsStatusmemoryFree(Long memoryFree)AdminOsStatusmemoryFreeSwapSize(Long memoryFreeSwapSize)AdminOsStatusmemoryTotal(Long memoryTotal)AdminOsStatusmemoryTotalSwapSize(Long memoryTotalSwapSize)AdminOsStatusosArchitecture(String osArchitecture)AdminOsStatusosName(String osName)AdminOsStatusosVersion(String osVersion)AdminOsStatusprocessCpuLoad(Double processCpuLoad)voidsetContainer(AdminOsStatusContainer container)voidsetCpuLogicalProcessors(Integer cpuLogicalProcessors)voidsetMemoryCommittedVirtualSize(Long memoryCommittedVirtualSize)voidsetMemoryFree(Long memoryFree)voidsetMemoryFreeSwapSize(Long memoryFreeSwapSize)voidsetMemoryTotal(Long memoryTotal)voidsetMemoryTotalSwapSize(Long memoryTotalSwapSize)voidsetOsArchitecture(String osArchitecture)voidsetOsName(String osName)voidsetOsVersion(String osVersion)voidsetProcessCpuLoad(Double processCpuLoad)voidsetSystemLoadAverage(Double systemLoadAverage)AdminOsStatussystemLoadAverage(Double systemLoadAverage)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CONTAINER
public static final String JSON_PROPERTY_CONTAINER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CPU_LOGICAL_PROCESSORS
public static final String JSON_PROPERTY_CPU_LOGICAL_PROCESSORS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MEMORY_COMMITTED_VIRTUAL_SIZE
public static final String JSON_PROPERTY_MEMORY_COMMITTED_VIRTUAL_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MEMORY_FREE
public static final String JSON_PROPERTY_MEMORY_FREE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MEMORY_FREE_SWAP_SIZE
public static final String JSON_PROPERTY_MEMORY_FREE_SWAP_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MEMORY_TOTAL
public static final String JSON_PROPERTY_MEMORY_TOTAL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MEMORY_TOTAL_SWAP_SIZE
public static final String JSON_PROPERTY_MEMORY_TOTAL_SWAP_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OS_ARCHITECTURE
public static final String JSON_PROPERTY_OS_ARCHITECTURE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OS_NAME
public static final String JSON_PROPERTY_OS_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OS_VERSION
public static final String JSON_PROPERTY_OS_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROCESS_CPU_LOAD
public static final String JSON_PROPERTY_PROCESS_CPU_LOAD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SYSTEM_LOAD_AVERAGE
public static final String JSON_PROPERTY_SYSTEM_LOAD_AVERAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
container
public AdminOsStatus container(AdminOsStatusContainer container)
-
getContainer
@Nullable public @Nullable AdminOsStatusContainer getContainer()
Get container- Returns:
- container
-
setContainer
public void setContainer(AdminOsStatusContainer container)
-
cpuLogicalProcessors
public AdminOsStatus cpuLogicalProcessors(Integer cpuLogicalProcessors)
-
getCpuLogicalProcessors
@Nullable public @Nullable Integer getCpuLogicalProcessors()
The number of logical processors available to the application- Returns:
- cpuLogicalProcessors
-
setCpuLogicalProcessors
public void setCpuLogicalProcessors(Integer cpuLogicalProcessors)
-
memoryCommittedVirtualSize
public AdminOsStatus memoryCommittedVirtualSize(Long memoryCommittedVirtualSize)
-
getMemoryCommittedVirtualSize
@Nullable public @Nullable Long getMemoryCommittedVirtualSize()
The amount of virtual memory that is guaranteed to be available to the application in bytes- Returns:
- memoryCommittedVirtualSize
-
setMemoryCommittedVirtualSize
public void setMemoryCommittedVirtualSize(Long memoryCommittedVirtualSize)
-
memoryFree
public AdminOsStatus memoryFree(Long memoryFree)
-
getMemoryFree
@Nullable public @Nullable Long getMemoryFree()
The amount of free memory in bytes- Returns:
- memoryFree
-
setMemoryFree
public void setMemoryFree(Long memoryFree)
-
memoryFreeSwapSize
public AdminOsStatus memoryFreeSwapSize(Long memoryFreeSwapSize)
-
getMemoryFreeSwapSize
@Nullable public @Nullable Long getMemoryFreeSwapSize()
The amount of free swap space in bytes- Returns:
- memoryFreeSwapSize
-
setMemoryFreeSwapSize
public void setMemoryFreeSwapSize(Long memoryFreeSwapSize)
-
memoryTotal
public AdminOsStatus memoryTotal(Long memoryTotal)
-
getMemoryTotal
@Nullable public @Nullable Long getMemoryTotal()
The total amount of memory in bytes- Returns:
- memoryTotal
-
setMemoryTotal
public void setMemoryTotal(Long memoryTotal)
-
memoryTotalSwapSize
public AdminOsStatus memoryTotalSwapSize(Long memoryTotalSwapSize)
-
getMemoryTotalSwapSize
@Nullable public @Nullable Long getMemoryTotalSwapSize()
The total amount of swap space in bytes- Returns:
- memoryTotalSwapSize
-
setMemoryTotalSwapSize
public void setMemoryTotalSwapSize(Long memoryTotalSwapSize)
-
osArchitecture
public AdminOsStatus osArchitecture(String osArchitecture)
-
getOsArchitecture
@Nullable public @Nullable String getOsArchitecture()
The operating system´s architecture- Returns:
- osArchitecture
-
setOsArchitecture
public void setOsArchitecture(String osArchitecture)
-
osName
public AdminOsStatus osName(String osName)
-
getOsName
@Nullable public @Nullable String getOsName()
The name of the operating system, the server is running on- Returns:
- osName
-
setOsName
public void setOsName(String osName)
-
osVersion
public AdminOsStatus osVersion(String osVersion)
-
getOsVersion
@Nullable public @Nullable String getOsVersion()
The operating system´s version number- Returns:
- osVersion
-
setOsVersion
public void setOsVersion(String osVersion)
-
processCpuLoad
public AdminOsStatus processCpuLoad(Double processCpuLoad)
-
getProcessCpuLoad
@Nullable public @Nullable Double getProcessCpuLoad()
The recent CPU usage of the JVM with a value between 0.0 and 1.0 (a value of 1.0 means that threads were actively executed on all CPUs)- Returns:
- processCpuLoad
-
setProcessCpuLoad
public void setProcessCpuLoad(Double processCpuLoad)
-
systemLoadAverage
public AdminOsStatus systemLoadAverage(Double systemLoadAverage)
-
getSystemLoadAverage
@Nullable public @Nullable Double getSystemLoadAverage()
The system load average for the last minute (or a negative value if not available)- Returns:
- systemLoadAverage
-
setSystemLoadAverage
public void setSystemLoadAverage(Double systemLoadAverage)
-
-