T
- type of the request objectR
- type of the response object@FunctionalInterface public interface GrpcService<T,R>
mapUsingServiceAsync
call. Use GrpcServices
to create a service.Modifier and Type | Method and Description |
---|---|
CompletableFuture<R> |
call(T input)
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.