1 22 package org.jboss.ha.framework.server; 23 24 import java.net.InetAddress ; 25 import java.util.Vector ; 26 27 import javax.management.ObjectName ; 28 29 import org.jboss.cache.Cache; 30 import org.jboss.ha.framework.interfaces.DistributedState; 31 import org.jboss.ha.framework.interfaces.HAPartition; 32 import org.jboss.mx.util.ObjectNameFactory; 33 import org.jgroups.jmx.JChannelFactoryMBean; 34 35 45 46 public interface ClusterPartitionMBean 47 extends org.jboss.system.ServiceMBean 48 { 49 ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss:service=ClusterPartition"); 50 51 55 String getPartitionName(); 56 57 61 String getNodeUniqueId(); 62 63 66 InetAddress getNodeAddress(); 67 68 69 String getJGroupsVersion(); 70 71 73 long getStateTransferTimeout(); 74 75 void setStateTransferTimeout(long timeout); 76 77 79 long getMethodCallTimeout(); 80 81 void setMethodCallTimeout(long timeout); 82 83 84 87 88 91 boolean getDeadlockDetection(); 92 93 106 public boolean getAllowSynchronousMembershipNotifications(); 107 120 public void setAllowSynchronousMembershipNotifications(boolean allowSync); 121 122 126 HAPartition getHAPartition (); 127 128 131 DistributedState getDistributedStateService(); 132 133 136 Cache getClusteredCache(); 137 138 141 JChannelFactoryMBean getMultiplexer(); 142 143 147 String getMultiplexerStack(); 148 149 152 Vector getCurrentView(); 153 154 String showHistory (); 155 156 String showHistoryAsXML (); 157 158 void startChannelDebugger(); 159 void startChannelDebugger(boolean accumulative); 160 void stopChannelDebugger(); 161 162 } 163 | Popular Tags |