1 package org.jgroups.jmx; 2 3 import java.util.Map ; 4 import java.util.Properties ; 5 6 10 public interface ProtocolMBean { 11 String getName(); 12 String getPropertiesAsString(); 13 void setProperties(Properties p); 14 boolean getStatsEnabled(); 15 void setStatsEnabled(boolean flag); 16 void resetStats(); 17 String printStats(); 18 Map dumpStats(); 19 void create() throws Exception ; 20 void start() throws Exception ; 21 void stop(); 22 void destroy(); 23 24 } 25 | Popular Tags |