org.jboss.ha.framework.interfaces
Interface FamilyClusterInfo
- All Known Implementing Classes:
- FamilyClusterInfoImpl (src)
- public interface FamilyClusterInfo
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.
- See Also:
FamilyClusterInfoImpl
(src) ,
ClusteringTargetsRepository
(src)
UNINITIALIZED_CURSOR
public static final int UNINITIALIZED_CURSOR
- See Also:
- Constant Field Values (src)
getFamilyName
public java.lang.String getFamilyName()
getTargets
public java.util.ArrayList getTargets()
getCurrentViewId
public long getCurrentViewId()
removeDeadTarget
public java.util.ArrayList removeDeadTarget(java.lang.Object target)
updateClusterInfo
public java.util.ArrayList updateClusterInfo(java.util.ArrayList targets,
long viewId)
currentMembershipInSyncWithViewId
public boolean currentMembershipInSyncWithViewId()
resetView
public void resetView()
getCursor
public int getCursor()
setCursor
public int setCursor(int cursor)
getObject
public java.lang.Object getObject()
setObject
public java.lang.Object setObject(java.lang.Object whatever)