|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A replication group member.
This is an EndPoint in charge of replicating the state of registered
ReplicantCapables across N-nodes, which constitute a replication group.
Method Summary | |
Object |
getReplicationGroupID()
Gets the replication group identifier. |
void |
mergeWithUpdate(UpdateEvent anEvent)
Merges an UpdateEvent with a registered ReplicationCapable. |
void |
registerLocalReplicantCapable(ReplicationCapable aReplicant)
This method is for internal use only. |
void |
registerReplicantCapable(ReplicationCapable aReplicant)
Registers a ReplicantCapable. |
ReplicationCapable |
retrieveReplicantCapable(Object anID)
Retrieves the ReplicationCapable having the specified id. |
void |
unregisterReplicantCapable(ReplicationCapable aReplicant)
Unregisters a ReplicantCapable. |
Methods inherited from interface org.apache.geronimo.messaging.replication.UpdateListener |
fireUpdateEvent |
Methods inherited from interface org.apache.geronimo.messaging.EndPoint |
getID |
Methods inherited from interface org.apache.geronimo.messaging.MsgProducer |
setMsgProducerOut |
Methods inherited from interface org.apache.geronimo.messaging.MsgConsumer |
getMsgConsumerOut |
Method Detail |
public Object getReplicationGroupID()
public void mergeWithUpdate(UpdateEvent anEvent) throws ReplicationException
anEvent
- Update event to be merged.
ReplicationException
- Indicates that the merge can not be
performed.public void registerReplicantCapable(ReplicationCapable aReplicant)
aReplicant
- ReplicantCapable to be controlled by this group.public void unregisterReplicantCapable(ReplicationCapable aReplicant)
aReplicant
- ReplicantCapable to be removed from the replication
group.public void registerLocalReplicantCapable(ReplicationCapable aReplicant)
aReplicant
- ReplicantCapable to be locally registered.public ReplicationCapable retrieveReplicantCapable(Object anID)
anID
- Replicant identifier.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |