当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 cluster API Documentation 英文版文档
HARMIClient (JBoss Cluster API) - JBoss 4.0.1 sp1 cluster API Documentation 英文版文档
org.jboss.ha.framework.interfaces
Class HARMIClient
java.lang.Object
org.jboss.ha.framework.interfaces.HARMIClient
- All Implemented Interfaces:
- HARMIProxy, InvocationHandler, Serializable
- public class HARMIClient
- extends Object
- implements HARMIProxy, InvocationHandler, Serializable
- Version:
- $Revision: 1.11 $
- 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 |
key
protected String key
loadBalancePolicy
protected LoadBalancePolicy loadBalancePolicy
local
protected transient Object local
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.