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 Type
    Method
    Description
    com.google.common.util.concurrent.ListenableFuture<AddResponse>
    add(AddRequest request)
    Add adds a value to the set
    com.google.common.util.concurrent.ListenableFuture<ClearResponse>
    Clear removes all values from the set
    com.google.common.util.concurrent.ListenableFuture<CloseResponse>
    Close closes the set
    com.google.common.util.concurrent.ListenableFuture<ContainsResponse>
    Contains returns whether the set contains a value
    com.google.common.util.concurrent.ListenableFuture<CreateResponse>
    Create creates the set
    com.google.common.util.concurrent.ListenableFuture<RemoveResponse>
    Remove removes a value from the set
    com.google.common.util.concurrent.ListenableFuture<SizeResponse>
    size(SizeRequest request)
    Size gets the number of elements in the set

    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 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

      public com.google.common.util.concurrent.ListenableFuture<SizeResponse> size(SizeRequest request)
       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

      public com.google.common.util.concurrent.ListenableFuture<AddResponse> add(AddRequest request)
       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