[jboss-cvs] JBossAS SVN: r60296 - trunk/cluster/src/main/org/jboss/ha/framework/server.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Feb 5 10:07:37 EST 2007
Author: bstansberry at jboss.com
Date: 2007-02-05 10:07:37 -0500 (Mon, 05 Feb 2007)
New Revision: 60296
Modified:
trunk/cluster/src/main/org/jboss/ha/framework/server/ClusterPartition.java
trunk/cluster/src/main/org/jboss/ha/framework/server/ClusterPartitionMBean.java
Log:
[JBAS-4062] Remove use of JGroups Debugger from ClusterPartition
Modified: trunk/cluster/src/main/org/jboss/ha/framework/server/ClusterPartition.java
===================================================================
--- trunk/cluster/src/main/org/jboss/ha/framework/server/ClusterPartition.java 2007-02-05 14:56:50 UTC (rev 60295)
+++ trunk/cluster/src/main/org/jboss/ha/framework/server/ClusterPartition.java 2007-02-05 15:07:37 UTC (rev 60296)
@@ -69,7 +69,6 @@
import org.jgroups.blocks.GroupRequest;
import org.jgroups.blocks.MethodCall;
import org.jgroups.blocks.RpcDispatcher;
-import org.jgroups.debug.Debugger;
import org.jgroups.jmx.JChannelFactoryMBean;
import org.jgroups.stack.IpAddress;
import org.jgroups.util.Rsp;
@@ -169,7 +168,6 @@
protected Exception setStateException;
private final Object stateLock = new Object();
private final MessageListenerAdapter messageListener = new MessageListenerAdapter();
- private Debugger debugger;
private boolean selfCreatedDRM;
// Static --------------------------------------------------------
@@ -365,8 +363,6 @@
logHistory ("Stopping partition");
log.info("Stopping partition " + getPartitionName());
- stopChannelDebugger();
-
try
{
asynchHandler.stop();
@@ -1340,29 +1336,6 @@
buff.append("</events>\n");
return buff.toString();
}
-
- public void startChannelDebugger()
- {
- startChannelDebugger(false);
- }
-
- public void startChannelDebugger(boolean accumulative)
- {
- if(debugger == null)
- {
- debugger=new Debugger(this.channel, accumulative);
- debugger.start();
- }
- }
-
- public void stopChannelDebugger()
- {
- if(debugger != null)
- {
- // debugger.stop(); // uncomment when new JGroups version is available
- debugger=null;
- }
- }
public Cache getClusteredCache()
{
Modified: trunk/cluster/src/main/org/jboss/ha/framework/server/ClusterPartitionMBean.java
===================================================================
--- trunk/cluster/src/main/org/jboss/ha/framework/server/ClusterPartitionMBean.java 2007-02-05 14:56:50 UTC (rev 60295)
+++ trunk/cluster/src/main/org/jboss/ha/framework/server/ClusterPartitionMBean.java 2007-02-05 15:07:37 UTC (rev 60296)
@@ -155,8 +155,4 @@
String showHistoryAsXML ();
- void startChannelDebugger();
- void startChannelDebugger(boolean accumulative);
- void stopChannelDebugger();
-
}
More information about the jboss-cvs-commits
mailing list