Package io.atomix.api.runtime.set.v1
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
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 TypeMethodDescriptionvoidadd(AddRequest request, io.grpc.stub.StreamObserver<AddResponse> responseObserver) Add adds a value to the setvoidclear(ClearRequest request, io.grpc.stub.StreamObserver<ClearResponse> responseObserver) Clear removes all values from the setvoidclose(CloseRequest request, io.grpc.stub.StreamObserver<CloseResponse> responseObserver) Close closes the setvoidcontains(ContainsRequest request, io.grpc.stub.StreamObserver<ContainsResponse> responseObserver) Contains returns whether the set contains a valuevoidcreate(CreateRequest request, io.grpc.stub.StreamObserver<CreateResponse> responseObserver) Create creates the setvoidelements(ElementsRequest request, io.grpc.stub.StreamObserver<ElementsResponse> responseObserver) Elements lists all elements in the setvoidevents(EventsRequest request, io.grpc.stub.StreamObserver<EventsResponse> responseObserver) Events listens for set change eventsvoidremove(RemoveRequest request, io.grpc.stub.StreamObserver<RemoveResponse> responseObserver) Remove removes a value from the setvoidsize(SizeRequest request, io.grpc.stub.StreamObserver<SizeResponse> responseObserver) Size gets the number of elements in the setMethods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
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
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
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
-