Class AtomicIndexedMapGrpc.AtomicIndexedMapImplBase
java.lang.Object
io.atomix.api.runtime.atomic.indexedmap.v1.AtomicIndexedMapGrpc.AtomicIndexedMapImplBase
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
AtomicIndexedMapGrpc
public abstract static class AtomicIndexedMapGrpc.AtomicIndexedMapImplBase
extends Object
implements io.grpc.BindableService
AtomicIndexedMap is a service for a sorted/indexed map primitive
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappend(AppendRequest request, io.grpc.stub.StreamObserver<AppendResponse> responseObserver) Append appends an entry to the mapfinal 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 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 eventsvoidfirstEntry(FirstEntryRequest request, io.grpc.stub.StreamObserver<FirstEntryResponse> responseObserver) FirstEntry gets the first entry in the mapvoidget(GetRequest request, io.grpc.stub.StreamObserver<GetResponse> responseObserver) Get gets the entry for a keyvoidlastEntry(LastEntryRequest request, io.grpc.stub.StreamObserver<LastEntryResponse> responseObserver) LastEntry gets the last entry in the mapvoidnextEntry(NextEntryRequest request, io.grpc.stub.StreamObserver<NextEntryResponse> responseObserver) NextEntry gets the next entry in the mapvoidprevEntry(PrevEntryRequest request, io.grpc.stub.StreamObserver<PrevEntryResponse> responseObserver) PrevEntry gets the previous entry in the mapvoidremove(RemoveRequest request, io.grpc.stub.StreamObserver<RemoveResponse> responseObserver) Remove removes an entry from the mapvoidsize(SizeRequest request, io.grpc.stub.StreamObserver<SizeResponse> responseObserver) Size returns the size of the mapvoidupdate(UpdateRequest request, io.grpc.stub.StreamObserver<UpdateResponse> responseObserver) Update updates an entry in the map
-
Constructor Details
-
AtomicIndexedMapImplBase
public AtomicIndexedMapImplBase()
-
-
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
-
append
public void append(AppendRequest request, io.grpc.stub.StreamObserver<AppendResponse> responseObserver) Append appends an entry to the map
-
update
public void update(UpdateRequest request, io.grpc.stub.StreamObserver<UpdateResponse> responseObserver) Update updates an entry in the map
-
get
Get gets the entry for a key
-
firstEntry
public void firstEntry(FirstEntryRequest request, io.grpc.stub.StreamObserver<FirstEntryResponse> responseObserver) FirstEntry gets the first entry in the map
-
lastEntry
public void lastEntry(LastEntryRequest request, io.grpc.stub.StreamObserver<LastEntryResponse> responseObserver) LastEntry gets the last entry in the map
-
prevEntry
public void prevEntry(PrevEntryRequest request, io.grpc.stub.StreamObserver<PrevEntryResponse> responseObserver) PrevEntry gets the previous entry in the map
-
nextEntry
public void nextEntry(NextEntryRequest request, io.grpc.stub.StreamObserver<NextEntryResponse> responseObserver) NextEntry gets the next entry in the map
-
remove
public void remove(RemoveRequest request, io.grpc.stub.StreamObserver<RemoveResponse> responseObserver) Remove removes an entry 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
-