org.outerj.daisy.jmx
Interface SystemInfoImplMBean

All Known Implementing Classes:
SystemInfoImpl

public interface SystemInfoImplMBean

MBean for providing some general system information.


Method Summary
 int getAvailableProcessors()
          Shows the number of available processors for the VM
 java.lang.String getFileEncoding()
          Shows file encoding.
 long getFreeVmMemory()
          Shows the current amount of free memory in the VM, measured in bytes.
 java.lang.String getFreeVmMemoryFormatted()
           
 long getMaxVmMemory()
          Shows the maximum amount of memory that the VM will attempt to use, measured in bytes.
 java.lang.String getMaxVmMemoryFormatted()
           
 java.util.Date getStartTime()
          Shows the (approx.) time when the system was started.
 long getTotalVmMemory()
          Shows the total amount of free memory in the VM, measured in bytes.
 java.lang.String getTotalVmMemoryFormatted()
           
 java.lang.String getUpTime()
          Shows the (approx.) current system uptime
 void triggerGarbageCollector()
          Suggests the VM to run the Garbage Collector
 

Method Detail

getFreeVmMemory

public long getFreeVmMemory()
Shows the current amount of free memory in the VM, measured in bytes.


getFreeVmMemoryFormatted

public java.lang.String getFreeVmMemoryFormatted()

getMaxVmMemory

public long getMaxVmMemory()
Shows the maximum amount of memory that the VM will attempt to use, measured in bytes.


getMaxVmMemoryFormatted

public java.lang.String getMaxVmMemoryFormatted()

getTotalVmMemory

public long getTotalVmMemory()
Shows the total amount of free memory in the VM, measured in bytes.


getTotalVmMemoryFormatted

public java.lang.String getTotalVmMemoryFormatted()

getAvailableProcessors

public int getAvailableProcessors()
Shows the number of available processors for the VM


getStartTime

public java.util.Date getStartTime()
Shows the (approx.) time when the system was started.


getUpTime

public java.lang.String getUpTime()
Shows the (approx.) current system uptime


triggerGarbageCollector

public void triggerGarbageCollector()
Suggests the VM to run the Garbage Collector


getFileEncoding

public java.lang.String getFileEncoding()
Shows file encoding.



Copyright © -2005 . All Rights Reserved.