Class ClusterGrpc.ClusterImplBase

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

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

      • ClusterImplBase

        public ClusterImplBase()
    • Method Detail

      • memberAdd

        public void memberAdd​(MemberAddRequest request,
                              io.grpc.stub.StreamObserver<MemberAddResponse> responseObserver)
         MemberAdd adds a member into the cluster.
         
      • memberRemove

        public void memberRemove​(MemberRemoveRequest request,
                                 io.grpc.stub.StreamObserver<MemberRemoveResponse> responseObserver)
         MemberRemove removes an existing member from the cluster.
         
      • memberList

        public void memberList​(MemberListRequest request,
                               io.grpc.stub.StreamObserver<MemberListResponse> responseObserver)
         MemberList lists all the members in the cluster.
         
      • bindService

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