Class WorkerServiceGrpc.WorkerServiceStub

    • Nested Class Summary

      • Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

        io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class io.grpc.stub.AbstractAsyncStub

        newStub, newStub
      • Methods inherited from class io.grpc.stub.AbstractStub

        getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • runServer

        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.
         
      • runClient

        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.
         
      • quitWorker

        public void quitWorker​(Control.Void request,
                               io.grpc.stub.StreamObserver<Control.Void> responseObserver)
         Quit this worker