org.jboss.ha.framework.interfaces
Interface DistributedReplicantManager.ReplicantListener

All Known Implementing Classes:
HARMIServerImpl.RefreshProxiesHATarget, HATarget, JGCacheInvalidationBridge, ProxyFactoryHA, ProxyFactoryHA
Enclosing interface:
DistributedReplicantManager

public static interface DistributedReplicantManager.ReplicantListener

When a particular key in the DistributedReplicantManager table gets modified, all listeners will be notified of replicant changes for that key.


Method Summary
 void replicantsChanged(String key, List newReplicants, int newReplicantsViewId)
          Callback called when the content/list of replicant for a given replicant key has changed
 

Method Detail

replicantsChanged

void replicantsChanged(String key,
                       List newReplicants,
                       int newReplicantsViewId)
Callback called when the content/list of replicant for a given replicant key has changed

Parameters:
key - The name of the key of the replicant that has changed
newReplicants - The list of new replicants for the give replicant key. This list will be in a consistent order on all cluster nodes on which the current viewId is in effect
newReplicantsViewId - The new replicant view id corresponding to this change


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.