|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
Revisions:
2002/08/23, Sacha Labourey:
FamilyClusterInfoImpl,
ClusteringTargetsRepository| Field Summary | |
|---|---|
static int |
UNINITIALIZED_CURSOR
|
| Method Summary | |
|---|---|
boolean |
currentMembershipInSyncWithViewId()
|
long |
getCurrentViewId()
|
int |
getCursor()
|
String |
getFamilyName()
|
Object |
getObject()
|
ArrayList |
getTargets()
Gets the list of targets for this family. |
ArrayList |
removeDeadTarget(Object target)
Remove the given target from the list of targets. |
void |
resetView()
Force a reload of the view at the next invocation. |
int |
setCursor(int cursor)
|
Object |
setObject(Object whatever)
|
ArrayList |
updateClusterInfo(ArrayList targets,
long viewId)
Updates the targets and the view id. |
| Field Detail |
|---|
static final int UNINITIALIZED_CURSOR
| Method Detail |
|---|
String getFamilyName()
ArrayList getTargets()
long getCurrentViewId()
ArrayList removeDeadTarget(Object target)
target - the target
ArrayList updateClusterInfo(ArrayList targets,
long viewId)
boolean currentMembershipInSyncWithViewId()
void resetView()
int getCursor()
int setCursor(int cursor)
Object getObject()
Object setObject(Object whatever)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||