org.jboss.ha.framework.interfaces
Class HARMIClient
java.lang.Object
org.jboss.ha.framework.interfaces.HARMIClient
- All Implemented Interfaces:
- Serializable, InvocationHandler, HARMIProxy
public class HARMIClient
- extends Object
- implements HARMIProxy, InvocationHandler, Serializable
- Version:
- $Revision: 1.11.6.4 $
- Author:
- Sacha Labourey, Bill Burke
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TO_STRING
protected static final Method TO_STRING
Object.toString()
method reference.
HASH_CODE
protected static final Method HASH_CODE
Object.hashCode()
method reference.
EQUALS
protected static final Method EQUALS
Object.equals(java.lang.Object)
method reference.
key
protected String key
loadBalancePolicy
protected LoadBalancePolicy loadBalancePolicy
local
protected transient Object local
trace
protected transient boolean trace
HARMIClient
public HARMIClient()
HARMIClient
public HARMIClient(ArrayList targets,
LoadBalancePolicy policy,
String key)
HARMIClient
public HARMIClient(ArrayList targets,
long initViewId,
LoadBalancePolicy policy,
String key,
Object local)
updateClusterInfo
public void updateClusterInfo(ArrayList targets,
long viewId)
getRemoteTarget
public Object getRemoteTarget()
remoteTargetHasFailed
public void remoteTargetHasFailed(Object target)
findLocalMethod
public Method findLocalMethod(Method method,
Object[] args)
throws Exception
- Throws:
Exception
invokeRemote
public Object invokeRemote(Object proxy,
Method method,
Object[] args)
throws Throwable
- Throws:
Throwable
isLocal
public boolean isLocal()
- Specified by:
isLocal
in interface HARMIProxy
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
removeDeadTarget
protected void removeDeadTarget(Object target)
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.