Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.ha.framework » interfaces » [javadoc | source]
org.jboss.ha.framework.interfaces
public interface: FamilyClusterInfo [javadoc | source]

All Known Implementing Classes:
    FamilyClusterInfoImpl

Maintain information for a given proxy family. Proxies can statically reference objects implementing this interface: only the content will change as the cluster topology changes, not the FamilyClusterInfo object itself. Proxies or LoadBalancing policy implementations can use the cursor and object attribute to store arbitrary data that is then shared accross all proxies belonging to the same family. Initial access to this object is done through the ClusteringTargetsRepository singleton.
Field Summary
public static final  int UNINITIALIZED_CURSOR     
Method from org.jboss.ha.framework.interfaces.FamilyClusterInfo Summary:
currentMembershipInSyncWithViewId,   getCurrentViewId,   getCursor,   getFamilyName,   getObject,   getTargets,   removeDeadTarget,   resetView,   setCursor,   setObject,   updateClusterInfo
Method from org.jboss.ha.framework.interfaces.FamilyClusterInfo Detail:
 public boolean currentMembershipInSyncWithViewId()
 public long getCurrentViewId()
 public int getCursor()
 public String getFamilyName()
 public Object getObject()
 public ArrayList getTargets()
 public ArrayList removeDeadTarget(Object target)
 public  void resetView()
 public int setCursor(int cursor)
 public Object setObject(Object whatever)
 public ArrayList updateClusterInfo(ArrayList targets,
    long viewId)