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.6.1 $
Revisions:
2002/08/23, Sacha Labourey:
- Author:
- Sacha Labourey.
- See Also:
FamilyClusterInfoImpl
,
ClusteringTargetsRepository
UNINITIALIZED_CURSOR
static final int UNINITIALIZED_CURSOR
- See Also:
- Constant Field Values
getFamilyName
String getFamilyName()
getTargets
ArrayList getTargets()
getCurrentViewId
long getCurrentViewId()
removeDeadTarget
ArrayList removeDeadTarget(Object target)
updateClusterInfo
ArrayList updateClusterInfo(ArrayList targets,
long viewId)
currentMembershipInSyncWithViewId
boolean currentMembershipInSyncWithViewId()
resetView
void resetView()
getCursor
int getCursor()
setCursor
int setCursor(int cursor)
getObject
Object getObject()
setObject
Object setObject(Object whatever)
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.