com.cloudtran.jmx
Class MemoryManagerImpl

java.lang.Object
  extended by javax.management.StandardMBean
      extended by com.cloudtran.jmx.AbstractMBean
          extended by com.cloudtran.jmx.MemoryManagerImpl
All Implemented Interfaces:
MemoryManagerMBean, DynamicMBean, MBeanRegistration

public class MemoryManagerImpl
extends AbstractMBean
implements MemoryManagerMBean


Constructor Summary
MemoryManagerImpl()
           
 
Method Summary
 long getGcFrequency()
           
 void setGcFrequency(long newValue)
           
 
Methods inherited from class javax.management.StandardMBean
getAttribute, getAttributes, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryManagerImpl

public MemoryManagerImpl()
                  throws NotCompliantMBeanException
Throws:
NotCompliantMBeanException
Method Detail

getGcFrequency

public long getGcFrequency()
Specified by:
getGcFrequency in interface MemoryManagerMBean
Returns:
the GC frequency in milliseconds.

setGcFrequency

public void setGcFrequency(long newValue)
Specified by:
setGcFrequency in interface MemoryManagerMBean
Parameters:
newValue - the new GC frequency in milliseconds