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