Class SetGrpc.SetStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<SetGrpc.SetStub>
io.atomix.api.runtime.set.v1.SetGrpc.SetStub
Enclosing class:
SetGrpc

public static final class SetGrpc.SetStub extends io.grpc.stub.AbstractAsyncStub<SetGrpc.SetStub>
 Set is a service for a set primitive
 
  • 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

    Modifier and Type
    Method
    Description
    void
    add(AddRequest request, io.grpc.stub.StreamObserver<AddResponse> responseObserver)
    Add adds a value to the set
    void
    clear(ClearRequest request, io.grpc.stub.StreamObserver<ClearResponse> responseObserver)
    Clear removes all values from the set
    void
    close(CloseRequest request, io.grpc.stub.StreamObserver<CloseResponse> responseObserver)
    Close closes the set
    void
    contains(ContainsRequest request, io.grpc.stub.StreamObserver<ContainsResponse> responseObserver)
    Contains returns whether the set contains a value
    void
    create(CreateRequest request, io.grpc.stub.StreamObserver<CreateResponse> responseObserver)
    Create creates the set
    void
    elements(ElementsRequest request, io.grpc.stub.StreamObserver<ElementsResponse> responseObserver)
    Elements lists all elements in the set
    void
    events(EventsRequest request, io.grpc.stub.StreamObserver<EventsResponse> responseObserver)
    Events listens for set change events
    void
    remove(RemoveRequest request, io.grpc.stub.StreamObserver<RemoveResponse> responseObserver)
    Remove removes a value from the set
    void
    size(SizeRequest request, io.grpc.stub.StreamObserver<SizeResponse> responseObserver)
    Size gets the number of elements in the set

    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

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • create

      public void create(CreateRequest request, io.grpc.stub.StreamObserver<CreateResponse> responseObserver)
       Create creates the set
       
    • close

      public void close(CloseRequest request, io.grpc.stub.StreamObserver<CloseResponse> responseObserver)
       Close closes the set
       
    • size

      public void size(SizeRequest request, io.grpc.stub.StreamObserver<SizeResponse> responseObserver)
       Size gets the number of elements in the set
       
    • contains

      public void contains(ContainsRequest request, io.grpc.stub.StreamObserver<ContainsResponse> responseObserver)
       Contains returns whether the set contains a value
       
    • add

      public void add(AddRequest request, io.grpc.stub.StreamObserver<AddResponse> responseObserver)
       Add adds a value to the set
       
    • remove

      public void remove(RemoveRequest request, io.grpc.stub.StreamObserver<RemoveResponse> responseObserver)
       Remove removes a value from the set
       
    • clear

      public void clear(ClearRequest request, io.grpc.stub.StreamObserver<ClearResponse> responseObserver)
       Clear removes all values from the set
       
    • events

      public void events(EventsRequest request, io.grpc.stub.StreamObserver<EventsResponse> responseObserver)
       Events listens for set change events
       
    • elements

      public void elements(ElementsRequest request, io.grpc.stub.StreamObserver<ElementsResponse> responseObserver)
       Elements lists all elements in the set