org.outerj.daisy.repository.serverimpl
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.
 long getMaxVmMemory()
          Shows the maximum amount of memory that the VM will attempt to use, measured in bytes.
 java.lang.String getServerVersion()
           
 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 getUpTime()
          Shows the (approx.) current system uptime
 java.lang.String getVmMemoryFormatted()
           
 void triggerGarbageCollector()
          Suggests the VM to run the Garbage Collector
 

Method Detail

getFreeVmMemory

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


getVmMemoryFormatted

java.lang.String getVmMemoryFormatted()

getMaxVmMemory

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


getTotalVmMemory

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


getAvailableProcessors

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


getStartTime

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


getUpTime

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


triggerGarbageCollector

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


getFileEncoding

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


getServerVersion

java.lang.String getServerVersion()


Copyright © -2012 . All Rights Reserved.