Class CounterMapGrpc.CounterMapImplBase
java.lang.Object
io.atomix.api.runtime.countermap.v1.CounterMapGrpc.CounterMapImplBase
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
CounterMapGrpc
public abstract static class CounterMapGrpc.CounterMapImplBase
extends Object
implements io.grpc.BindableService
CounterMap is a service for a counter map 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 mapvoidcreate(CreateRequest request, io.grpc.stub.StreamObserver<CreateResponse> responseObserver) Create creates the mapvoiddecrement(DecrementRequest request, io.grpc.stub.StreamObserver<DecrementResponse> responseObserver) Decrement decrements a counter in 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 keyvoidincrement(IncrementRequest request, io.grpc.stub.StreamObserver<IncrementResponse> responseObserver) Increment increments a counter in the mapvoidinsert(InsertRequest request, io.grpc.stub.StreamObserver<InsertResponse> responseObserver) Insert inserts an entry into the mapvoidlock(LockRequest request, io.grpc.stub.StreamObserver<LockResponse> responseObserver) Lock locks a key in the mapvoidremove(RemoveRequest request, io.grpc.stub.StreamObserver<RemoveResponse> responseObserver) Remove removes an entry from the mapvoidset(SetRequest request, io.grpc.stub.StreamObserver<SetResponse> responseObserver) Set sets an entry into the mapvoidsize(SizeRequest request, io.grpc.stub.StreamObserver<SizeResponse> responseObserver) Size returns the size of the mapvoidunlock(UnlockRequest request, io.grpc.stub.StreamObserver<UnlockResponse> responseObserver) Unlock unlocks a key in the mapvoidupdate(UpdateRequest request, io.grpc.stub.StreamObserver<UpdateResponse> responseObserver) Update updates an entry in the map
-
Constructor Details
-
CounterMapImplBase
public CounterMapImplBase()
-
-
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
-
set
Set sets an entry into the map
-
insert
public void insert(InsertRequest request, io.grpc.stub.StreamObserver<InsertResponse> responseObserver) Insert inserts an entry into the map
-
update
public void update(UpdateRequest request, io.grpc.stub.StreamObserver<UpdateResponse> responseObserver) Update updates an entry in the map
-
increment
public void increment(IncrementRequest request, io.grpc.stub.StreamObserver<IncrementResponse> responseObserver) Increment increments a counter in the map
-
decrement
public void decrement(DecrementRequest request, io.grpc.stub.StreamObserver<DecrementResponse> responseObserver) Decrement decrements a counter 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
-
clear
public void clear(ClearRequest request, io.grpc.stub.StreamObserver<ClearResponse> responseObserver) Clear removes all entries from the map
-
lock
Lock locks a key in the map
-
unlock
public void unlock(UnlockRequest request, io.grpc.stub.StreamObserver<UnlockResponse> responseObserver) Unlock unlocks a key in 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
-