Package io.atomix.api.runtime.set.v1
Class SetGrpc.SetFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<SetGrpc.SetFutureStub>
io.atomix.api.runtime.set.v1.SetGrpc.SetFutureStub
- Enclosing class:
SetGrpc
public static final class SetGrpc.SetFutureStub
extends io.grpc.stub.AbstractStub<SetGrpc.SetFutureStub>
Set is a service for a set primitive
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<AddResponse>add(AddRequest request) Add adds a value to the setcom.google.common.util.concurrent.ListenableFuture<ClearResponse>clear(ClearRequest request) Clear removes all values from the setcom.google.common.util.concurrent.ListenableFuture<CloseResponse>close(CloseRequest request) Close closes the setcom.google.common.util.concurrent.ListenableFuture<ContainsResponse>contains(ContainsRequest request) Contains returns whether the set contains a valuecom.google.common.util.concurrent.ListenableFuture<CreateResponse>create(CreateRequest request) Create creates the setcom.google.common.util.concurrent.ListenableFuture<RemoveResponse>remove(RemoveRequest request) Remove removes a value from the setcom.google.common.util.concurrent.ListenableFuture<SizeResponse>size(SizeRequest request) Size gets the number of elements in the setMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
create
public com.google.common.util.concurrent.ListenableFuture<CreateResponse> create(CreateRequest request) Create creates the set
-
close
public com.google.common.util.concurrent.ListenableFuture<CloseResponse> close(CloseRequest request) Close closes the set
-
size
Size gets the number of elements in the set
-
contains
public com.google.common.util.concurrent.ListenableFuture<ContainsResponse> contains(ContainsRequest request) Contains returns whether the set contains a value
-
add
Add adds a value to the set
-
remove
public com.google.common.util.concurrent.ListenableFuture<RemoveResponse> remove(RemoveRequest request) Remove removes a value from the set
-
clear
public com.google.common.util.concurrent.ListenableFuture<ClearResponse> clear(ClearRequest request) Clear removes all values from the set
-