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_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_USED
-
Constructor Summary
Constructors Constructor Description AdminJavaStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdminJavaStatusaddGcItem(AdminJavaStatusGC gcItem)booleanequals(Object o)AdminJavaStatusgc(List<AdminJavaStatusGC> gc)@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 LonggetMemoryAllocated()The byte size of the memory currently allocated for the running JVM.@Nullable LonggetMemoryFree()The byte size of free memory, that currently is available for further object allocations.@Nullable LonggetMemoryMax()The byte size of the maximum memory, that could be allocated by the JVM, if required.@Nullable LonggetMemoryTotalFree()The byte 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 LonggetMemoryUsed()The byte size of the allocated memory, that is actually used by the JVM at the moment.inthashCode()AdminJavaStatusjavaName(String javaName)AdminJavaStatusjavaVendor(String javaVendor)AdminJavaStatusjavaVersion(String javaVersion)AdminJavaStatusmemoryAllocated(Long memoryAllocated)AdminJavaStatusmemoryFree(Long memoryFree)AdminJavaStatusmemoryMax(Long memoryMax)AdminJavaStatusmemoryTotalFree(Long memoryTotalFree)AdminJavaStatusmemoryUsed(Long memoryUsed)voidsetGc(List<AdminJavaStatusGC> gc)voidsetJavaName(String javaName)voidsetJavaVendor(String javaVendor)voidsetJavaVersion(String javaVersion)voidsetMemoryAllocated(Long memoryAllocated)voidsetMemoryFree(Long memoryFree)voidsetMemoryMax(Long memoryMax)voidsetMemoryTotalFree(Long memoryTotalFree)voidsetMemoryUsed(Long memoryUsed)StringtoString()
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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(Long memoryAllocated)
-
getMemoryAllocated
@Nullable public @Nullable Long getMemoryAllocated()
The byte size of the memory currently allocated for the running JVM.- Returns:
- memoryAllocated
-
setMemoryAllocated
public void setMemoryAllocated(Long memoryAllocated)
-
memoryFree
public AdminJavaStatus memoryFree(Long memoryFree)
-
getMemoryFree
@Nullable public @Nullable Long getMemoryFree()
The byte size of free memory, that currently is available for further object allocations.- Returns:
- memoryFree
-
setMemoryFree
public void setMemoryFree(Long memoryFree)
-
memoryMax
public AdminJavaStatus memoryMax(Long memoryMax)
-
getMemoryMax
@Nullable public @Nullable Long getMemoryMax()
The byte size of the maximum memory, that could be allocated by the JVM, if required.- Returns:
- memoryMax
-
setMemoryMax
public void setMemoryMax(Long memoryMax)
-
memoryTotalFree
public AdminJavaStatus memoryTotalFree(Long memoryTotalFree)
-
getMemoryTotalFree
@Nullable public @Nullable Long getMemoryTotalFree()
The byte 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(Long memoryTotalFree)
-
memoryUsed
public AdminJavaStatus memoryUsed(Long memoryUsed)
-
getMemoryUsed
@Nullable public @Nullable Long getMemoryUsed()
The byte size of the allocated memory, that is actually used by the JVM at the moment.- Returns:
- memoryUsed
-
setMemoryUsed
public void setMemoryUsed(Long memoryUsed)
-
-