Package io.grpc.benchmarks.proto
Class WorkerServiceGrpc.WorkerServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<WorkerServiceGrpc.WorkerServiceFutureStub>
-
- io.grpc.benchmarks.proto.WorkerServiceGrpc.WorkerServiceFutureStub
-
- Enclosing class:
- WorkerServiceGrpc
public static final class WorkerServiceGrpc.WorkerServiceFutureStub extends io.grpc.stub.AbstractFutureStub<WorkerServiceGrpc.WorkerServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service WorkerService.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WorkerServiceGrpc.WorkerServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<Control.CoreResponse>coreCount(Control.CoreRequest request)Just return the core count - unary callcom.google.common.util.concurrent.ListenableFuture<Control.Void>quitWorker(Control.Void request)Quit this worker
-
-
-
Method Detail
-
build
protected WorkerServiceGrpc.WorkerServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<WorkerServiceGrpc.WorkerServiceFutureStub>
-
coreCount
public com.google.common.util.concurrent.ListenableFuture<Control.CoreResponse> coreCount(Control.CoreRequest request)
Just return the core count - unary call
-
quitWorker
public com.google.common.util.concurrent.ListenableFuture<Control.Void> quitWorker(Control.Void request)
Quit this worker
-
-