public class RuntimeInformation extends Object
| Constructor and Description |
|---|
RuntimeInformation() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAvailableProcessors()
Gets the available processors.
|
long |
getCommittedVirtualMemorySize()
Gets the committed virtual memory size.
|
long |
getFreePhysicalMemorySize()
Gets the free physical memory size.
|
long |
getFreeSwapSpaceSize()
Gets the free swap space size.
|
long |
getMaxFileDescriptorCount()
Gets the max file descriptor count.
|
long |
getOpenFileDescriptorCount()
Gets the open file descriptor count.
|
String |
getOsName()
Gets the os name.
|
String |
getOsVersion()
Gets the os version.
|
long |
getProcessCpuTime()
Gets the process cpu time.
|
long |
getStartTime()
Gets the start time.
|
long |
getTotalPhysicalMemorySize()
Gets the total physical memory size.
|
long |
getTotalSwapSpaceSize()
Gets the total swap space size.
|
long |
getUptime()
Gets the uptime.
|
String |
getVmVendor()
Gets the vm vendor.
|
void |
setAvailableProcessors(int availableProcessors)
Sets the available processors.
|
void |
setCommittedVirtualMemorySize(long committedVirtualMemorySize)
Sets the committed virtual memory size.
|
void |
setFreePhysicalMemorySize(long freePhysicalMemorySize)
Sets the free physical memory size.
|
void |
setFreeSwapSpaceSize(long freeSwapSpaceSize)
Sets the free swap space size.
|
void |
setMaxFileDescriptorCount(long maxFileDescriptorCount)
Sets the max file descriptor count.
|
void |
setOpenFileDescriptorCount(long openFileDescriptorCount)
Sets the open file descriptor count.
|
void |
setOsName(String osName)
Sets the os name.
|
void |
setOsVersion(String osVersion)
Sets the os version.
|
void |
setProcessCpuTime(long processCpuTime)
Sets the process cpu time.
|
void |
setStartTime(long startTime)
Sets the start time.
|
void |
setTotalPhysicalMemorySize(long totalPhysicalMemorySize)
Sets the total physical memory size.
|
void |
setTotalSwapSpaceSize(long totalSwapSpaceSize)
Sets the total swap space size.
|
void |
setUptime(long uptime)
Sets the uptime.
|
void |
setVmVendor(String vmVendor)
Sets the vm vendor.
|
public long getCommittedVirtualMemorySize()
public void setCommittedVirtualMemorySize(long committedVirtualMemorySize)
committedVirtualMemorySize - the new committed virtual memory sizepublic long getFreePhysicalMemorySize()
public void setFreePhysicalMemorySize(long freePhysicalMemorySize)
freePhysicalMemorySize - the new free physical memory sizepublic long getFreeSwapSpaceSize()
public void setFreeSwapSpaceSize(long freeSwapSpaceSize)
freeSwapSpaceSize - the new free swap space sizepublic long getProcessCpuTime()
public void setProcessCpuTime(long processCpuTime)
processCpuTime - the new process cpu timepublic int getAvailableProcessors()
public void setAvailableProcessors(int availableProcessors)
availableProcessors - the new available processorspublic long getTotalPhysicalMemorySize()
public void setTotalPhysicalMemorySize(long totalPhysicalMemorySize)
totalPhysicalMemorySize - the new total physical memory sizepublic long getTotalSwapSpaceSize()
public void setTotalSwapSpaceSize(long totalSwapSpaceSize)
totalSwapSpaceSize - the new total swap space sizepublic String getOsName()
public void setOsName(String osName)
osName - the new os namepublic String getOsVersion()
public void setOsVersion(String osVersion)
osVersion - the new os versionpublic long getStartTime()
public void setStartTime(long startTime)
startTime - the new start timepublic long getUptime()
public void setUptime(long uptime)
uptime - the new uptimepublic String getVmVendor()
public void setVmVendor(String vmVendor)
vmVendor - the new vm vendorpublic long getOpenFileDescriptorCount()
public void setOpenFileDescriptorCount(long openFileDescriptorCount)
openFileDescriptorCount - the new open file descriptor countpublic long getMaxFileDescriptorCount()
public void setMaxFileDescriptorCount(long maxFileDescriptorCount)
maxFileDescriptorCount - the new max file descriptor countCopyright © 2009–2020 psi-probe. All rights reserved.