FileDocCategorySizeDatePackage
ClusterMergeStatus.javaAPI DocJBoss 4.2.11847Fri Jul 13 20:52:36 BST 2007org.jboss.ha.framework.interfaces

ClusterMergeStatus

public class ClusterMergeStatus extends Object
ThreadLocal-based context information about whether the current thread is executing a cluster merge.

This is really a temporary 4.x workaround for JBAS-4229. In AS 5 this will likely be replaced by adding a boolean parameter to DistributedReplicantManager.ReplicantListener.replicantsChanged().

author
Brian Stansberry

Fields Summary
private static final ThreadLocal
status
Constructors Summary
Methods Summary
public static voidendMergeProcess()

      status.set(null);
   
public static booleanisMergeInProcess()

      return status.get() != null;
   
public static voidstartMergeProcess()

   
      
   
      status.set(Boolean.TRUE);