org.jboss.ha.framework.server
Class HARMIServerImpl.RefreshProxiesHATarget
java.lang.Object
org.jboss.ha.framework.server.HATarget
org.jboss.ha.framework.server.HARMIServerImpl.RefreshProxiesHATarget
- All Implemented Interfaces:
- DistributedReplicantManager.ReplicantListener
- Enclosing class:
- HARMIServerImpl
public class HARMIServerImpl.RefreshProxiesHATarget
- extends HATarget
Fields inherited from class org.jboss.ha.framework.server.HATarget |
allowInvocationsStatus, clusterViewId, DISABLE_INVOCATIONS, ENABLE_INVOCATIONS, latch, log, MAKE_INVOCATIONS_WAIT, partition, replicantName, replicants, target |
Methods inherited from class org.jboss.ha.framework.server.HATarget |
cleanExistenceInCurrentHAPartition, destroy, disable, getAssociatedPartition, getCurrentViewId, getReplicants, invocationsAllowed, releaseCurrentLatch, setInvocationsAuthorization, toString, updateHAPartition |
generatedProxies
protected ArrayList generatedProxies
HARMIServerImpl.RefreshProxiesHATarget
public HARMIServerImpl.RefreshProxiesHATarget(HAPartition partition,
String replicantName,
Serializable target,
int allowInvocations)
throws Exception
- Throws:
Exception
init
public void init()
throws Exception
- Overrides:
init
in class HATarget
- Throws:
Exception
addProxy
public void addProxy(HARMIClient client)
replicantsChanged
public void replicantsChanged(String key,
List newReplicants,
int newReplicantsViewId)
- Description copied from interface:
DistributedReplicantManager.ReplicantListener
- Callback called when the content/list of replicant for a given replicant key has changed
- Specified by:
replicantsChanged
in interface DistributedReplicantManager.ReplicantListener
- Overrides:
replicantsChanged
in class HATarget
- Parameters:
key
- The name of the key of the replicant that has changednewReplicants
- 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 effectnewReplicantsViewId
- The new replicant view id corresponding to this change
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.