Revisions:
2001/10/31: marcf
2002/08/23: Sacha Labourey
Add a replicant, it will be attached to this cluster nodeparamkey Replicant name. All replicas around the cluster must use the same key name.paramreplicant Local data of the replicant, that is, any serializable datathrowsException Thrown if a cluster communication problem occurs
Return a list of all services that have a least one replicant.returnA collection of services names (String)
Returns an id corresponding to the current view of this set of replicants.paramkey The replicant namereturnA view id (doesn't grow sequentially)
Indicates if the current node is the master replica for this given key.paramkey The replicant namereturnTrue if this node is the master
Lookup the replicant attached to this cluster nodeparamkey The name of the replicantreturnThe local replicant for the give key name
Return a list of all replicants.paramkey The replicant namereturnAn list of serialized replicants available around the cluster for the given key. This list will be in the same order in all nodes in the cluster.
Return a list of all replicants node names.paramkey The replicant namereturnA list the node names of cluster nodes that have made available a replicant for the given key. This list will be in the same order in all nodes in the cluster.
Subscribe a new listener {@link ReplicantListener} for replicants changeparamkey Name of the replicant, must be identical cluster-wide for all identical replicantsparamsubscriber The subsribing {@link ReplicantListener}
Remove the entire key from the ReplicationServiceparamkey Name of the replicantthrowsException Thrown if a cluster communication problem occurs
Unsubscribe a listener {@link ReplicantListener} that had subscribed for replicants changesparamkey Name of the replicant, must be identical cluster-wide for all identical replicantsparamsubscriber The unsubscribing {@link ReplicantListener}