Class MultiMapGrpc.MultiMapStub
java.lang.Object
io.grpc.stub.AbstractStub<MultiMapGrpc.MultiMapStub>
io.atomix.api.runtime.multimap.v1.MultiMapGrpc.MultiMapStub
- Enclosing class:
MultiMapGrpc
public static final class MultiMapGrpc.MultiMapStub
extends io.grpc.stub.AbstractStub<MultiMapGrpc.MultiMapStub>
MultiMap is a service for a multimap primitive
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear(ClearRequest request, io.grpc.stub.StreamObserver<ClearResponse> responseObserver) Clear removes all entries from the mapvoidclose(CloseRequest request, io.grpc.stub.StreamObserver<CloseResponse> responseObserver) Close closes the mapvoidcontains(ContainsRequest request, io.grpc.stub.StreamObserver<ContainsResponse> responseObserver) Contains checks if an entry exists in the mapvoidcreate(CreateRequest request, io.grpc.stub.StreamObserver<CreateResponse> responseObserver) Create creates the mapvoidentries(EntriesRequest request, io.grpc.stub.StreamObserver<EntriesResponse> responseObserver) Entries lists all entries in the mapvoidevents(EventsRequest request, io.grpc.stub.StreamObserver<EventsResponse> responseObserver) Events listens for change eventsvoidget(GetRequest request, io.grpc.stub.StreamObserver<GetResponse> responseObserver) Get gets the entry for a keyvoidput(PutRequest request, io.grpc.stub.StreamObserver<PutResponse> responseObserver) Put adds a value to an entry in the mapvoidputAll(PutAllRequest request, io.grpc.stub.StreamObserver<PutAllResponse> responseObserver) PutAll adds values to an entry in the mapvoidremove(RemoveRequest request, io.grpc.stub.StreamObserver<RemoveResponse> responseObserver) Remove removes an entry from the mapvoidremoveAll(RemoveAllRequest request, io.grpc.stub.StreamObserver<RemoveAllResponse> responseObserver) RemoveAll removes a key from the mapvoidreplace(ReplaceRequest request, io.grpc.stub.StreamObserver<ReplaceResponse> responseObserver) Replace replaces the values of an entry in the mapvoidsize(SizeRequest request, io.grpc.stub.StreamObserver<SizeResponse> responseObserver) Size returns the size of the mapMethods 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 map
-
close
public void close(CloseRequest request, io.grpc.stub.StreamObserver<CloseResponse> responseObserver) Close closes the map
-
size
Size returns the size of the map
-
put
Put adds a value to an entry in the map
-
putAll
public void putAll(PutAllRequest request, io.grpc.stub.StreamObserver<PutAllResponse> responseObserver) PutAll adds values to an entry in the map
-
replace
public void replace(ReplaceRequest request, io.grpc.stub.StreamObserver<ReplaceResponse> responseObserver) Replace replaces the values of an entry in the map
-
contains
public void contains(ContainsRequest request, io.grpc.stub.StreamObserver<ContainsResponse> responseObserver) Contains checks if an entry exists in the map
-
get
Get gets the entry for a key
-
remove
public void remove(RemoveRequest request, io.grpc.stub.StreamObserver<RemoveResponse> responseObserver) Remove removes an entry from the map
-
removeAll
public void removeAll(RemoveAllRequest request, io.grpc.stub.StreamObserver<RemoveAllResponse> responseObserver) RemoveAll removes a key from the map
-
clear
public void clear(ClearRequest request, io.grpc.stub.StreamObserver<ClearResponse> responseObserver) Clear removes all entries from the map
-
events
public void events(EventsRequest request, io.grpc.stub.StreamObserver<EventsResponse> responseObserver) Events listens for change events
-
entries
public void entries(EntriesRequest request, io.grpc.stub.StreamObserver<EntriesResponse> responseObserver) Entries lists all entries in the map
-