1 4 package com.tc.management.beans.object; 5 6 import com.tc.management.AbstractTerracottaMBean; 7 import com.tc.management.beans.object.ObjectManagementMonitor.GCComptroller; 8 9 import javax.management.NotCompliantMBeanException ; 10 11 public final class MockObjectManagementMonitor extends AbstractTerracottaMBean implements ObjectManagementMonitorMBean { 12 13 public MockObjectManagementMonitor() throws NotCompliantMBeanException { 14 super(ObjectManagementMonitorMBean.class, false); 15 } 16 17 public boolean isGCRunning() { 18 return false; 19 } 20 21 public void registerGCController(GCComptroller controller) { 22 } 24 25 public void runGC() { 26 return; 27 } 28 29 public void reset() { 30 } 32 33 public String getGCResult() { 34 return ""; 35 } 36 37 } 38 | Popular Tags |