public class MockRpcClientFactory extends Object implements RpcClientFactory
RpcClientFactory
implementation that always executes the requests locally.JMX_DOMAIN_RPC, LOG_PREFIX, RPC_COUNT, RPC_DURATION, RPC_FAILED, RPC_REQUEST_SIZE, RPC_RESPONSE_SIZE
Constructor and Description |
---|
MockRpcClientFactory() |
Modifier and Type | Method and Description |
---|---|
<R extends RpcRequest,S extends RpcResponse> |
getClient(RpcModule<R,S> module) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
markFailed, markRpcCount, updateDuration, updateRequestSize, updateResponseSize
public <R extends RpcRequest,S extends RpcResponse> RpcClient<R,S> getClient(RpcModule<R,S> module)
getClient
in interface RpcClientFactory
Copyright © 2020. All rights reserved.