Class IndexedMapGrpc.IndexedMapStub
java.lang.Object
io.grpc.stub.AbstractStub<IndexedMapGrpc.IndexedMapStub>
io.atomix.api.runtime.indexedmap.v1.IndexedMapGrpc.IndexedMapStub
- Enclosing class:
IndexedMapGrpc
public static final class IndexedMapGrpc.IndexedMapStub
extends io.grpc.stub.AbstractStub<IndexedMapGrpc.IndexedMapStub>
IndexedMap is a service for a sorted/indexed map primitive
-
Method Summary
Modifier and TypeMethodDescriptionvoidappend(AppendRequest request, io.grpc.stub.StreamObserver<AppendResponse> responseObserver) Append appends an entry to the mapvoidclear(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 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
-
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
-