Class MockClusterWrapper

java.lang.Object
org.apache.dubbo.rpc.cluster.support.wrapper.MockClusterWrapper
All Implemented Interfaces:
Cluster

public class MockClusterWrapper extends Object implements Cluster
mock impl
  • Constructor Details

    • MockClusterWrapper

      public MockClusterWrapper(Cluster cluster)
  • Method Details

    • join

      public <T> Invoker<T> join(Directory<T> directory, boolean buildFilterChain) throws RpcException
      Description copied from interface: Cluster
      Merge the directory invokers to a virtual invoker.
      Specified by:
      join in interface Cluster
      Type Parameters:
      T -
      Parameters:
      directory -
      Returns:
      cluster invoker
      Throws:
      RpcException
    • getCluster

      public Cluster getCluster()