public static class TestDelayedRpc.TestDelayedImplementation extends Object implements TestDelayedRpcProtos.TestDelayedService.BlockingInterface
Constructor and Description |
---|
TestDelayedImplementation(boolean delayReturnValue) |
Modifier and Type | Method and Description |
---|---|
TestDelayedRpcProtos.TestResponse |
test(RpcController rpcController,
TestDelayedRpcProtos.TestArg testArg) |
public TestDelayedImplementation(boolean delayReturnValue)
delayReturnValue
- Should the response to the delayed call be set
at the start or the end of the delay.public TestDelayedRpcProtos.TestResponse test(RpcController rpcController, TestDelayedRpcProtos.TestArg testArg) throws ServiceException
test
in interface TestDelayedRpcProtos.TestDelayedService.BlockingInterface
ServiceException