public static final class WorkerServiceGrpc.WorkerServiceFutureStub extends io.grpc.stub.AbstractFutureStub<WorkerServiceGrpc.WorkerServiceFutureStub>
| Modifier and Type | Method and Description |
|---|---|
protected WorkerServiceGrpc.WorkerServiceFutureStub |
build(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 call
|
com.google.common.util.concurrent.ListenableFuture<Control.Void> |
quitWorker(Control.Void request)
Quit this worker
|
protected WorkerServiceGrpc.WorkerServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<WorkerServiceGrpc.WorkerServiceFutureStub>public com.google.common.util.concurrent.ListenableFuture<Control.CoreResponse> coreCount(Control.CoreRequest request)
Just return the core count - unary call
public com.google.common.util.concurrent.ListenableFuture<Control.Void> quitWorker(Control.Void request)
Quit this worker