|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.outerj.daisy.repository.serverimpl.SystemInfoImpl
public class SystemInfoImpl
Constructor Summary | |
---|---|
SystemInfoImpl()
|
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 |
initialize()
|
void |
service(org.apache.avalon.framework.service.ServiceManager serviceManager)
|
void |
triggerGarbageCollector()
Suggests the VM to run the Garbage Collector |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemInfoImpl()
Method Detail |
---|
public void service(org.apache.avalon.framework.service.ServiceManager serviceManager) throws org.apache.avalon.framework.service.ServiceException
service
in interface org.apache.avalon.framework.service.Serviceable
org.apache.avalon.framework.service.ServiceException
public void initialize() throws java.lang.Exception
initialize
in interface org.apache.avalon.framework.activity.Initializable
java.lang.Exception
public long getFreeVmMemory()
SystemInfoImplMBean
getFreeVmMemory
in interface SystemInfoImplMBean
public java.lang.String getUpTime()
SystemInfoImplMBean
getUpTime
in interface SystemInfoImplMBean
public void triggerGarbageCollector()
SystemInfoImplMBean
triggerGarbageCollector
in interface SystemInfoImplMBean
public java.util.Date getStartTime()
SystemInfoImplMBean
getStartTime
in interface SystemInfoImplMBean
public long getMaxVmMemory()
SystemInfoImplMBean
getMaxVmMemory
in interface SystemInfoImplMBean
public long getTotalVmMemory()
SystemInfoImplMBean
getTotalVmMemory
in interface SystemInfoImplMBean
public int getAvailableProcessors()
SystemInfoImplMBean
getAvailableProcessors
in interface SystemInfoImplMBean
public java.lang.String getVmMemoryFormatted()
getVmMemoryFormatted
in interface SystemInfoImplMBean
public java.lang.String getFileEncoding()
SystemInfoImplMBean
getFileEncoding
in interface SystemInfoImplMBean
public java.lang.String getServerVersion()
getServerVersion
in interface SystemInfoImplMBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |