Class MockInvokersSelector<T>

java.lang.Object
org.apache.dubbo.rpc.cluster.router.state.AbstractStateRouter<T>
org.apache.dubbo.rpc.cluster.router.mock.MockInvokersSelector<T>
All Implemented Interfaces:
StateRouter<T>

public class MockInvokersSelector<T> extends AbstractStateRouter<T>
A specific Router designed to realize mock feature. If a request is configured to use mock, then this router guarantees that only the invokers with protocol MOCK appear in final the invoker list, all other invokers will be excluded.