T- type of the request object
R- type of the response object
@FunctionalInterface public interface GrpcService<T,R>
GrpcServicesto create a service.
|Modifier and Type||Method and Description|
Calls the requested service and returns a future which will be completed with the result once a response is received.
@Nonnull CompletableFuture<R> call(@Nonnull T input)
Copyright © 2021 Hazelcast, Inc.. All rights reserved.