Class VertxWatchGrpc.WatchVertxImplBase

  • All Implemented Interfaces:
    io.grpc.BindableService
    Enclosing class:
    VertxWatchGrpc

    public abstract static class VertxWatchGrpc.WatchVertxImplBase
    extends java.lang.Object
    implements io.grpc.BindableService
    • Constructor Detail

      • WatchVertxImplBase

        public WatchVertxImplBase()
    • Method Detail

      • withCompression

        public VertxWatchGrpc.WatchVertxImplBase withCompression​(java.lang.String compression)
        Set whether the server will try to use a compressed response.
        Parameters:
        compression - the compression, e.g gzip
      • watch

        public void watch​(io.vertx.core.streams.ReadStream<WatchRequest> request,
                          io.vertx.core.streams.WriteStream<WatchResponse> response)
          Put puts the given key into the key-value store.
          A put request increments the revision of the key-value store
          and generates one event in the event history.
         
      • bindService

        public final io.grpc.ServerServiceDefinition bindService()
        Specified by:
        bindService in interface io.grpc.BindableService