public static interface WorkerServiceGrpc.AsyncService
| Modifier and Type | Method and Description |
|---|---|
default void |
coreCount(Control.CoreRequest request,
io.grpc.stub.StreamObserver<Control.CoreResponse> responseObserver)
Just return the core count - unary call
|
default void |
quitWorker(Control.Void request,
io.grpc.stub.StreamObserver<Control.Void> responseObserver)
Quit this worker
|
default io.grpc.stub.StreamObserver<Control.ClientArgs> |
runClient(io.grpc.stub.StreamObserver<Control.ClientStatus> responseObserver)
Start client with specified workload.
|
default io.grpc.stub.StreamObserver<Control.ServerArgs> |
runServer(io.grpc.stub.StreamObserver<Control.ServerStatus> responseObserver)
Start server with specified workload.
|
default 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.
default 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.
default void coreCount(Control.CoreRequest request, io.grpc.stub.StreamObserver<Control.CoreResponse> responseObserver)
Just return the core count - unary call
default void quitWorker(Control.Void request, io.grpc.stub.StreamObserver<Control.Void> responseObserver)
Quit this worker