Class VertxClusterGrpc.ClusterVertxImplBase

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

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

      • ClusterVertxImplBase

        public ClusterVertxImplBase()
    • Method Detail

      • withCompression

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

        public io.vertx.core.Future<MemberRemoveResponse> memberRemove​(MemberRemoveRequest request)
          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.
         
      • memberUpdate

        public io.vertx.core.Future<MemberUpdateResponse> memberUpdate​(MemberUpdateRequest request)
          DeleteRange deletes the given range from the key-value store.
          A delete request increments the revision of the key-value store
          and generates a delete event in the event history for every deleted key.
         
      • memberList

        public io.vertx.core.Future<MemberListResponse> memberList​(MemberListRequest request)
          Txn processes multiple requests in a single transaction.
          A txn request increments the revision of the key-value store
          and generates events with the same revision for every completed request.
          It is not allowed to modify the same key several times within one txn.
         
      • bindService

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