Class MultiMapGrpc.MultiMapImplBase
java.lang.Object
io.atomix.api.runtime.multimap.v1.MultiMapGrpc.MultiMapImplBase
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
MultiMapGrpc
public abstract static class MultiMapGrpc.MultiMapImplBase
extends Object
implements io.grpc.BindableService
MultiMap is a service for a multimap primitive
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal io.grpc.ServerServiceDefinitionvoidclear(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 map
-
Constructor Details
-
MultiMapImplBase
public MultiMapImplBase()
-
-
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
-
bindService
public final io.grpc.ServerServiceDefinition bindService()- Specified by:
bindServicein interfaceio.grpc.BindableService
-