| |
|
| org.jboss.ha.framework.interfaces.FamilyClusterInfo
All known Subclasses: org.jboss.ha.framework.interfaces.FamilyClusterInfoImpl,
FamilyClusterInfo | public interface FamilyClusterInfo (Code) | | 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: org.jboss.ha.framework.interfaces.FamilyClusterInfoImpl See Also: org.jboss.ha.framework.interfaces.ClusteringTargetsRepository author: Sacha Labourey. version: $Revision: 57188 $ version: Revisions: version: 2002/08/23, Sacha Labourey: version: version: - First implementation
version:
|
UNINITIALIZED_CURSOR | final public static int UNINITIALIZED_CURSOR(Code) | | |
currentMembershipInSyncWithViewId | public boolean currentMembershipInSyncWithViewId()(Code) | | |
getCurrentViewId | public long getCurrentViewId()(Code) | | |
getCursor | public int getCursor()(Code) | | |
getTargets | public ArrayList getTargets()(Code) | | Gets the list of targets for this family.
NOTE: Implementations should synchronize on themselves
when executing this method (see JBAS-2071).
|
removeDeadTarget | public ArrayList removeDeadTarget(Object target)(Code) | | Remove the given target from the list of targets.
NOTE: Implementations should synchronize on themselves
when executing this method (see JBAS-2071).
Parameters: target - the target the updated list of targets |
resetView | public void resetView()(Code) | | Force a reload of the view at the next invocation.
NOTE: Implementations should synchronize on themselves
when executing this method (see JBAS-2071).
|
setCursor | public int setCursor(int cursor)(Code) | | |
updateClusterInfo | public ArrayList updateClusterInfo(ArrayList targets, long viewId)(Code) | | Updates the targets and the view id.
NOTE: Implementations should synchronize on themselves
when executing this method (see JBAS-2071).
|
|
|
|