public static final class WorkerServiceGrpc.WorkerServiceStub extends io.grpc.stub.AbstractAsyncStub<WorkerServiceGrpc.WorkerServiceStub>
| Modifier and Type | Method and Description |
|---|---|
protected WorkerServiceGrpc.WorkerServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
coreCount(Control.CoreRequest request,
io.grpc.stub.StreamObserver<Control.CoreResponse> responseObserver)
Just return the core count - unary call
|
void |
quitWorker(Control.Void request,
io.grpc.stub.StreamObserver<Control.Void> responseObserver)
Quit this worker
|
io.grpc.stub.StreamObserver<Control.ClientArgs> |
runClient(io.grpc.stub.StreamObserver<Control.ClientStatus> responseObserver)
Start client with specified workload.
|
io.grpc.stub.StreamObserver<Control.ServerArgs> |
runServer(io.grpc.stub.StreamObserver<Control.ServerStatus> responseObserver)
Start server with specified workload.
|
protected WorkerServiceGrpc.WorkerServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<WorkerServiceGrpc.WorkerServiceStub>public io.grpc.stub.StreamObserver<Control.ServerArgs> runServer(io.grpc.stub.StreamObserver<Control.ServerStatus> responseObserver)
Start server with specified workload. First request sent specifies the ServerConfig followed by ServerStatus response. After that, a "Mark" can be sent anytime to request the latest stats. Closing the stream will initiate shutdown of the test server and once the shutdown has finished, the OK status is sent to terminate this RPC.
public io.grpc.stub.StreamObserver<Control.ClientArgs> runClient(io.grpc.stub.StreamObserver<Control.ClientStatus> responseObserver)
Start client with specified workload. First request sent specifies the ClientConfig followed by ClientStatus response. After that, a "Mark" can be sent anytime to request the latest stats. Closing the stream will initiate shutdown of the test client and once the shutdown has finished, the OK status is sent to terminate this RPC.
public void coreCount(Control.CoreRequest request, io.grpc.stub.StreamObserver<Control.CoreResponse> responseObserver)
Just return the core count - unary call
public void quitWorker(Control.Void request, io.grpc.stub.StreamObserver<Control.Void> responseObserver)
Quit this worker