Package net.webpdf.wsclient.openapi
Class AdminJavaStatus
- java.lang.Object
-
- net.webpdf.wsclient.openapi.AdminJavaStatus
-
public class AdminJavaStatus extends Object
Provides information about the used Java virtual machine and it´sexecution context.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CONTAINERstatic StringJSON_PROPERTY_GCstatic StringJSON_PROPERTY_JAVA_NAMEstatic StringJSON_PROPERTY_JAVA_VENDORstatic StringJSON_PROPERTY_JAVA_VERSIONstatic StringJSON_PROPERTY_MEMORY_ALLOCATEDstatic StringJSON_PROPERTY_MEMORY_FREEstatic StringJSON_PROPERTY_MEMORY_MAXstatic StringJSON_PROPERTY_MEMORY_TOTAL_FREEstatic StringJSON_PROPERTY_MEMORY_USEDstatic StringJSON_PROPERTY_OS_ARCHITECTUREstatic StringJSON_PROPERTY_OS_DISTROstatic StringJSON_PROPERTY_OS_NAME
-
Constructor Summary
Constructors Constructor Description AdminJavaStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdminJavaStatusaddGcItem(AdminJavaStatusGC gcItem)AdminJavaStatuscontainer(AdminJavaStatusContainer container)booleanequals(Object o)AdminJavaStatusgc(List<AdminJavaStatusGC> gc)@Nullable AdminJavaStatusContainergetContainer()Get container@Nullable List<AdminJavaStatusGC>getGc()The list of GC used and their execution values.@Nullable StringgetJavaName()The name of the running JVM.@Nullable StringgetJavaVendor()The vendor of the running JVM.@Nullable StringgetJavaVersion()The java version of the running JVM.@Nullable StringgetMemoryAllocated()The MB size of the memory currently allocated for the running JVM.@Nullable StringgetMemoryFree()The MB size of free memory, that currently is available for further object allocations.@Nullable StringgetMemoryMax()The MB size of the maximum memory, that could be allocated by the JVM, if required.@Nullable StringgetMemoryTotalFree()The MB size of the free memory, that would currently be available for further object allocations, if the JVM would allocate the maximum allowed memory size.@Nullable StringgetMemoryUsed()The MB size of the allocated memory, that is actually used by the JVM at the moment.@Nullable StringgetOsArchitecture()The operating system´s architecture.@Nullable AdminJavaStatusOsDistrogetOsDistro()Get osDistro@Nullable StringgetOsName()The name of the operating system, the server is running on.inthashCode()AdminJavaStatusjavaName(String javaName)AdminJavaStatusjavaVendor(String javaVendor)AdminJavaStatusjavaVersion(String javaVersion)AdminJavaStatusmemoryAllocated(String memoryAllocated)AdminJavaStatusmemoryFree(String memoryFree)AdminJavaStatusmemoryMax(String memoryMax)AdminJavaStatusmemoryTotalFree(String memoryTotalFree)AdminJavaStatusmemoryUsed(String memoryUsed)AdminJavaStatusosArchitecture(String osArchitecture)AdminJavaStatusosDistro(AdminJavaStatusOsDistro osDistro)AdminJavaStatusosName(String osName)voidsetContainer(AdminJavaStatusContainer container)voidsetGc(List<AdminJavaStatusGC> gc)voidsetJavaName(String javaName)voidsetJavaVendor(String javaVendor)voidsetJavaVersion(String javaVersion)voidsetMemoryAllocated(String memoryAllocated)voidsetMemoryFree(String memoryFree)voidsetMemoryMax(String memoryMax)voidsetMemoryTotalFree(String memoryTotalFree)voidsetMemoryUsed(String memoryUsed)voidsetOsArchitecture(String osArchitecture)voidsetOsDistro(AdminJavaStatusOsDistro osDistro)voidsetOsName(String osName)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CONTAINER
public static final String JSON_PROPERTY_CONTAINER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GC
public static final String JSON_PROPERTY_GC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_JAVA_NAME
public static final String JSON_PROPERTY_JAVA_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_JAVA_VENDOR
public static final String JSON_PROPERTY_JAVA_VENDOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_JAVA_VERSION
public static final String JSON_PROPERTY_JAVA_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MEMORY_ALLOCATED
public static final String JSON_PROPERTY_MEMORY_ALLOCATED
- 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_MAX
public static final String JSON_PROPERTY_MEMORY_MAX
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MEMORY_TOTAL_FREE
public static final String JSON_PROPERTY_MEMORY_TOTAL_FREE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MEMORY_USED
public static final String JSON_PROPERTY_MEMORY_USED
- 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_DISTRO
public static final String JSON_PROPERTY_OS_DISTRO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OS_NAME
public static final String JSON_PROPERTY_OS_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
container
public AdminJavaStatus container(AdminJavaStatusContainer container)
-
getContainer
@Nullable public @Nullable AdminJavaStatusContainer getContainer()
Get container- Returns:
- container
-
setContainer
public void setContainer(AdminJavaStatusContainer container)
-
gc
public AdminJavaStatus gc(List<AdminJavaStatusGC> gc)
-
addGcItem
public AdminJavaStatus addGcItem(AdminJavaStatusGC gcItem)
-
getGc
@Nullable public @Nullable List<AdminJavaStatusGC> getGc()
The list of GC used and their execution values.- Returns:
- gc
-
setGc
public void setGc(List<AdminJavaStatusGC> gc)
-
javaName
public AdminJavaStatus javaName(String javaName)
-
getJavaName
@Nullable public @Nullable String getJavaName()
The name of the running JVM.- Returns:
- javaName
-
setJavaName
public void setJavaName(String javaName)
-
javaVendor
public AdminJavaStatus javaVendor(String javaVendor)
-
getJavaVendor
@Nullable public @Nullable String getJavaVendor()
The vendor of the running JVM.- Returns:
- javaVendor
-
setJavaVendor
public void setJavaVendor(String javaVendor)
-
javaVersion
public AdminJavaStatus javaVersion(String javaVersion)
-
getJavaVersion
@Nullable public @Nullable String getJavaVersion()
The java version of the running JVM.- Returns:
- javaVersion
-
setJavaVersion
public void setJavaVersion(String javaVersion)
-
memoryAllocated
public AdminJavaStatus memoryAllocated(String memoryAllocated)
-
getMemoryAllocated
@Nullable public @Nullable String getMemoryAllocated()
The MB size of the memory currently allocated for the running JVM.- Returns:
- memoryAllocated
-
setMemoryAllocated
public void setMemoryAllocated(String memoryAllocated)
-
memoryFree
public AdminJavaStatus memoryFree(String memoryFree)
-
getMemoryFree
@Nullable public @Nullable String getMemoryFree()
The MB size of free memory, that currently is available for further object allocations.- Returns:
- memoryFree
-
setMemoryFree
public void setMemoryFree(String memoryFree)
-
memoryMax
public AdminJavaStatus memoryMax(String memoryMax)
-
getMemoryMax
@Nullable public @Nullable String getMemoryMax()
The MB size of the maximum memory, that could be allocated by the JVM, if required.- Returns:
- memoryMax
-
setMemoryMax
public void setMemoryMax(String memoryMax)
-
memoryTotalFree
public AdminJavaStatus memoryTotalFree(String memoryTotalFree)
-
getMemoryTotalFree
@Nullable public @Nullable String getMemoryTotalFree()
The MB size of the free memory, that would currently be available for further object allocations, if the JVM would allocate the maximum allowed memory size.- Returns:
- memoryTotalFree
-
setMemoryTotalFree
public void setMemoryTotalFree(String memoryTotalFree)
-
memoryUsed
public AdminJavaStatus memoryUsed(String memoryUsed)
-
getMemoryUsed
@Nullable public @Nullable String getMemoryUsed()
The MB size of the allocated memory, that is actually used by the JVM at the moment.- Returns:
- memoryUsed
-
setMemoryUsed
public void setMemoryUsed(String memoryUsed)
-
osArchitecture
public AdminJavaStatus osArchitecture(String osArchitecture)
-
getOsArchitecture
@Nullable public @Nullable String getOsArchitecture()
The operating system´s architecture.- Returns:
- osArchitecture
-
setOsArchitecture
public void setOsArchitecture(String osArchitecture)
-
osDistro
public AdminJavaStatus osDistro(AdminJavaStatusOsDistro osDistro)
-
getOsDistro
@Nullable public @Nullable AdminJavaStatusOsDistro getOsDistro()
Get osDistro- Returns:
- osDistro
-
setOsDistro
public void setOsDistro(AdminJavaStatusOsDistro osDistro)
-
osName
public AdminJavaStatus 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)
-
-