| java.lang.Object org.jboss.test.cluster.drm.MockHAPartition
MockHAPartition | public class MockHAPartition implements HAPartition(Code) | | Mock implementation of HAPartition intended to support unit testing
of DistributedReplicantManagerImpl without the need for an underlying
JChannel.
author: Brian Stansberry version: $Id: MockHAPartition.java 57211 2006-09-26 12:39:46Z dimitris@jboss.org $ |
Method Summary | |
public void | callAsynchMethodOnCluster(String serviceName, String methodName, Object[] args, Class[] types, boolean excludeSelf) | public void | callAsynchMethodOnCluster(String serviceName, String methodName, Object[] args, boolean excludeSelf) | public ArrayList | callMethodOnCluster(String serviceName, String methodName, Object[] args, Class[] types, boolean excludeSelf) | public ArrayList | callMethodOnCluster(String serviceName, String methodName, Object[] args, boolean excludeSelf) | public ArrayList | callMethodOnCoordinatorNode(String serviceName, String methodName, Object[] args, Class[] types, boolean excludeSelf) | public boolean | getAllowSynchronousMembershipNotifications() | public ClusterNode | getClusterNode() | public ClusterNode[] | getClusterNodes() | public Vector | getCurrentView() | public long | getCurrentViewId() | public DistributedReplicantManager | getDistributedReplicantManager() | public DistributedState | getDistributedStateService() | public String | getNodeName() | public String | getPartitionName() | public void | registerMembershipListener(HAMembershipListener listener) | public void | registerRPCHandler(String serviceName, Object handler) | public void | setAllowSynchronousMembershipNotifications(boolean allowSync) | public void | setCurrentViewClusterNodes(Vector nodes) | public void | setRemoteReplicants(ArrayList remoteReplicants) | public void | subscribeToStateTransferEvents(String serviceName, HAPartitionStateTransfer subscriber) | public void | unregisterMembershipListener(HAMembershipListener listener) | public void | unregisterRPCHandler(String serviceName, Object subscriber) | public void | unsubscribeFromStateTransferEvents(String serviceName, HAPartitionStateTransfer subscriber) |
PARTITION_NAME | final public static String PARTITION_NAME(Code) | | |
MockHAPartition | public MockHAPartition(ClusterNode localAddress)(Code) | | |
getAllowSynchronousMembershipNotifications | public boolean getAllowSynchronousMembershipNotifications()(Code) | | |
getClusterNode | public ClusterNode getClusterNode()(Code) | | |
getClusterNodes | public ClusterNode[] getClusterNodes()(Code) | | |
getCurrentViewId | public long getCurrentViewId()(Code) | | |
getDistributedReplicantManager | public DistributedReplicantManager getDistributedReplicantManager()(Code) | | |
getDistributedStateService | public DistributedState getDistributedStateService()(Code) | | |
registerMembershipListener | public void registerMembershipListener(HAMembershipListener listener)(Code) | | |
registerRPCHandler | public void registerRPCHandler(String serviceName, Object handler)(Code) | | |
setAllowSynchronousMembershipNotifications | public void setAllowSynchronousMembershipNotifications(boolean allowSync)(Code) | | |
setCurrentViewClusterNodes | public void setCurrentViewClusterNodes(Vector nodes)(Code) | | |
setRemoteReplicants | public void setRemoteReplicants(ArrayList remoteReplicants)(Code) | | |
subscribeToStateTransferEvents | public void subscribeToStateTransferEvents(String serviceName, HAPartitionStateTransfer subscriber)(Code) | | |
unregisterMembershipListener | public void unregisterMembershipListener(HAMembershipListener listener)(Code) | | |
unregisterRPCHandler | public void unregisterRPCHandler(String serviceName, Object subscriber)(Code) | | |
unsubscribeFromStateTransferEvents | public void unsubscribeFromStateTransferEvents(String serviceName, HAPartitionStateTransfer subscriber)(Code) | | |
|
|