当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 cluster API Documentation 英文版文档
FamilyClusterInfo (JBoss Cluster API) - JBoss 4.0.1 sp1 cluster API Documentation 英文版文档
org.jboss.ha.framework.interfaces
Interface FamilyClusterInfo
- All Known Implementing Classes:
- FamilyClusterInfoImpl
- 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.
- Version:
- $Revision: 1.4 $
Revisions:
2002/08/23, Sacha Labourey:
- Author:
- Sacha Labourey.
- See Also:
FamilyClusterInfoImpl
,
ClusteringTargetsRepository
UNINITIALIZED_CURSOR
public static final int UNINITIALIZED_CURSOR
- See Also:
- Constant Field Values
getFamilyName
public String getFamilyName()
getTargets
public ArrayList getTargets()
getCurrentViewId
public long getCurrentViewId()
removeDeadTarget
public ArrayList removeDeadTarget(Object target)
updateClusterInfo
public ArrayList updateClusterInfo(ArrayList targets,
long viewId)
currentMembershipInSyncWithViewId
public boolean currentMembershipInSyncWithViewId()
resetView
public void resetView()
getCursor
public int getCursor()
setCursor
public int setCursor(int cursor)
getObject
public Object getObject()
setObject
public Object setObject(Object whatever)
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.