com.alibaba.dubbo.rpc.cluster.support.wrapper
Class MockClusterWrapper

java.lang.Object
  extended by com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterWrapper
All Implemented Interfaces:
Cluster

public class MockClusterWrapper
extends Object
implements Cluster

mock impl

Author:
chao.liuc

Constructor Summary
MockClusterWrapper(Cluster cluster)
           
 
Method Summary
<T> Invoker<T>
join(Directory<T> directory)
          Merge the directory invokers to a virtual invoker.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockClusterWrapper

public MockClusterWrapper(Cluster cluster)
Method Detail

join

public <T> Invoker<T> join(Directory<T> directory)
                throws RpcException
Description copied from interface: Cluster
Merge the directory invokers to a virtual invoker.

Specified by:
join in interface Cluster
Returns:
cluster invoker
Throws:
RpcException


Copyright © 2012–2017 Alibaba. All rights reserved.