Package com.oracle.coherence.grpc.proxy
Class NamedCacheServiceGrpcImpl
java.lang.Object
com.oracle.coherence.grpc.NamedCacheServiceGrpc.NamedCacheServiceImplBase
com.oracle.coherence.grpc.proxy.NamedCacheServiceGrpcImpl
- All Implemented Interfaces:
com.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService,BindableGrpcProxyService,GrpcProxyService,io.grpc.BindableService
public class NamedCacheServiceGrpcImpl
extends com.oracle.coherence.grpc.NamedCacheServiceGrpc.NamedCacheServiceImplBase
implements BindableGrpcProxyService
A plain gRPC implementation of NamedCache service.
- Author:
- Jonathan Knight 2020.09.21
-
Constructor Summary
ConstructorsConstructorDescriptionCreate aNamedCacheServiceGrpcImplthat wraps a default implementation ofNamedCacheService.Create aNamedCacheServiceGrpcImplwith default configuration.Create aNamedCacheServiceGrpcImplthat wraps a default implementation ofNamedCacheService. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIndex(com.oracle.coherence.grpc.AddIndexRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> observer) voidaggregate(com.oracle.coherence.grpc.AggregateRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer) voidclear(com.oracle.coherence.grpc.ClearRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> observer) voidcontainsEntry(com.oracle.coherence.grpc.ContainsEntryRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer) voidcontainsKey(com.oracle.coherence.grpc.ContainsKeyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer) voidcontainsValue(com.oracle.coherence.grpc.ContainsValueRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer) voiddestroy(com.oracle.coherence.grpc.DestroyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> observer) voidentrySet(com.oracle.coherence.grpc.EntrySetRequest request, io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.Entry> observer) io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.MapListenerRequest> events(io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.MapListenerResponse> observer) voidget(com.oracle.coherence.grpc.GetRequest request, io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.OptionalValue> observer) voidgetAll(com.oracle.coherence.grpc.GetAllRequest request, io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.Entry> observer) Obtain the gRPC metrics instance for this service.voidinvoke(com.oracle.coherence.grpc.InvokeRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer) voidinvokeAll(com.oracle.coherence.grpc.InvokeAllRequest request, io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.Entry> observer) voidisEmpty(com.oracle.coherence.grpc.IsEmptyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer) voidisReady(com.oracle.coherence.grpc.IsReadyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer) voidkeySet(com.oracle.coherence.grpc.KeySetRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer) voidnextEntrySetPage(com.oracle.coherence.grpc.PageRequest request, io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.EntryResult> observer) voidnextKeySetPage(com.oracle.coherence.grpc.PageRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer) voidput(com.oracle.coherence.grpc.PutRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer) voidputAll(com.oracle.coherence.grpc.PutAllRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> observer) voidputIfAbsent(com.oracle.coherence.grpc.PutIfAbsentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer) voidremove(com.oracle.coherence.grpc.RemoveRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer) voidremoveIndex(com.oracle.coherence.grpc.RemoveIndexRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> observer) voidremoveMapping(com.oracle.coherence.grpc.RemoveMappingRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer) voidreplace(com.oracle.coherence.grpc.ReplaceRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer) voidreplaceMapping(com.oracle.coherence.grpc.ReplaceMappingRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer) voidsize(com.oracle.coherence.grpc.SizeRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Int32Value> observer) voidtruncate(com.oracle.coherence.grpc.TruncateRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> observer) voidvalues(com.oracle.coherence.grpc.ValuesRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer) Methods inherited from class com.oracle.coherence.grpc.NamedCacheServiceGrpc.NamedCacheServiceImplBase
bindServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.grpc.BindableService
bindService
-
Constructor Details
-
NamedCacheServiceGrpcImpl
public NamedCacheServiceGrpcImpl()Create aNamedCacheServiceGrpcImplthat wraps a default implementation ofNamedCacheService. -
NamedCacheServiceGrpcImpl
Create aNamedCacheServiceGrpcImplthat wraps a default implementation ofNamedCacheService.- Parameters:
deps- theNamedCacheService.Dependenciesto use
-
NamedCacheServiceGrpcImpl
Create aNamedCacheServiceGrpcImplwith default configuration.- Parameters:
service- theNamedCacheServiceto use
-
-
Method Details
-
getMetrics
Description copied from interface:GrpcProxyServiceObtain the gRPC metrics instance for this service.- Specified by:
getMetricsin interfaceGrpcProxyService- Returns:
- the gRPC metrics instance for this service
-
addIndex
public void addIndex(com.oracle.coherence.grpc.AddIndexRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> observer) - Specified by:
addIndexin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
aggregate
public void aggregate(com.oracle.coherence.grpc.AggregateRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer) - Specified by:
aggregatein interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
clear
public void clear(com.oracle.coherence.grpc.ClearRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> observer) - Specified by:
clearin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
containsEntry
public void containsEntry(com.oracle.coherence.grpc.ContainsEntryRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer) - Specified by:
containsEntryin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
containsKey
public void containsKey(com.oracle.coherence.grpc.ContainsKeyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer) - Specified by:
containsKeyin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
containsValue
public void containsValue(com.oracle.coherence.grpc.ContainsValueRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer) - Specified by:
containsValuein interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
destroy
public void destroy(com.oracle.coherence.grpc.DestroyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> observer) - Specified by:
destroyin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
entrySet
public void entrySet(com.oracle.coherence.grpc.EntrySetRequest request, io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.Entry> observer) - Specified by:
entrySetin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
events
public io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.MapListenerRequest> events(io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.MapListenerResponse> observer) - Specified by:
eventsin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
get
public void get(com.oracle.coherence.grpc.GetRequest request, io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.OptionalValue> observer) - Specified by:
getin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
getAll
public void getAll(com.oracle.coherence.grpc.GetAllRequest request, io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.Entry> observer) - Specified by:
getAllin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
invoke
public void invoke(com.oracle.coherence.grpc.InvokeRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer) - Specified by:
invokein interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
invokeAll
public void invokeAll(com.oracle.coherence.grpc.InvokeAllRequest request, io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.Entry> observer) - Specified by:
invokeAllin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
isEmpty
public void isEmpty(com.oracle.coherence.grpc.IsEmptyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer) - Specified by:
isEmptyin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
isReady
public void isReady(com.oracle.coherence.grpc.IsReadyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer) - Specified by:
isReadyin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
keySet
public void keySet(com.oracle.coherence.grpc.KeySetRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer) - Specified by:
keySetin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
nextEntrySetPage
public void nextEntrySetPage(com.oracle.coherence.grpc.PageRequest request, io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.EntryResult> observer) - Specified by:
nextEntrySetPagein interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
nextKeySetPage
public void nextKeySetPage(com.oracle.coherence.grpc.PageRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer) - Specified by:
nextKeySetPagein interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
put
public void put(com.oracle.coherence.grpc.PutRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer) - Specified by:
putin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
putAll
public void putAll(com.oracle.coherence.grpc.PutAllRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> observer) - Specified by:
putAllin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
putIfAbsent
public void putIfAbsent(com.oracle.coherence.grpc.PutIfAbsentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer) - Specified by:
putIfAbsentin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
remove
public void remove(com.oracle.coherence.grpc.RemoveRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer) - Specified by:
removein interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
removeIndex
public void removeIndex(com.oracle.coherence.grpc.RemoveIndexRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> observer) - Specified by:
removeIndexin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
removeMapping
public void removeMapping(com.oracle.coherence.grpc.RemoveMappingRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer) - Specified by:
removeMappingin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
replace
public void replace(com.oracle.coherence.grpc.ReplaceRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer) - Specified by:
replacein interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
replaceMapping
public void replaceMapping(com.oracle.coherence.grpc.ReplaceMappingRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer) - Specified by:
replaceMappingin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
size
public void size(com.oracle.coherence.grpc.SizeRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Int32Value> observer) - Specified by:
sizein interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
truncate
public void truncate(com.oracle.coherence.grpc.TruncateRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> observer) - Specified by:
truncatein interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-
values
public void values(com.oracle.coherence.grpc.ValuesRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer) - Specified by:
valuesin interfacecom.oracle.coherence.grpc.NamedCacheServiceGrpc.AsyncService
-