Package io.servicetalk.grpc.api
Interface GrpcExecutionStrategy
-
- All Superinterfaces:
ExecutionStrategy
,HttpExecutionStrategy
public interface GrpcExecutionStrategy extends HttpExecutionStrategy
An execution strategy for gRPC client and servers.
-
-
Method Summary
Static Methods Modifier and Type Method Description static GrpcExecutionStrategy
from(HttpExecutionStrategy httpExecutionStrategy)
Creates a newGrpcExecutionStrategy
from the passedHttpExecutionStrategy
.-
Methods inherited from interface io.servicetalk.transport.api.ExecutionStrategy
executor, offloadReceive, offloadReceive, offloadSend, offloadSend
-
Methods inherited from interface io.servicetalk.http.api.HttpExecutionStrategy
invokeClient, invokeService, invokeService, isDataReceiveOffloaded, isMetadataReceiveOffloaded, isSendOffloaded, merge, offloadService
-
-
-
-
Method Detail
-
from
static GrpcExecutionStrategy from(HttpExecutionStrategy httpExecutionStrategy)
Creates a newGrpcExecutionStrategy
from the passedHttpExecutionStrategy
.- Parameters:
httpExecutionStrategy
-HttpExecutionStrategy
to use.- Returns:
- New
GrpcExecutionStrategy
using the passedHttpExecutionStrategy
.
-
-