Class HelidonNamedCacheService

All Implemented Interfaces:
com.oracle.coherence.grpc.GrpcService, GrpcProxyService, NamedCacheService

public class HelidonNamedCacheService extends BaseNamedCacheServiceImpl implements NamedCacheService
Author:
Jonathan Knight 2024.02.08
  • Constructor Details

  • Method Details

    • newInstance

      public static HelidonNamedCacheService newInstance(NamedCacheService.Dependencies deps)
      Create an instance of HelidonNamedCacheService using the default dependencies configuration.
      Parameters:
      deps - the NamedCacheService.Dependencies to use to create the service
      Returns:
      an instance of HelidonNamedCacheService
    • addIndex

      public void addIndex(com.oracle.coherence.grpc.messages.cache.v0.AddIndexRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> observer)
      Specified by:
      addIndex in interface NamedCacheService
    • aggregate

      public void aggregate(com.oracle.coherence.grpc.messages.cache.v0.AggregateRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer)
      Specified by:
      aggregate in interface NamedCacheService
    • containsEntry

      public void containsEntry(com.oracle.coherence.grpc.messages.cache.v0.ContainsEntryRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer)
      Specified by:
      containsEntry in interface NamedCacheService
    • containsKey

      public void containsKey(com.oracle.coherence.grpc.messages.cache.v0.ContainsKeyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer)
      Specified by:
      containsKey in interface NamedCacheService
    • containsValue

      public void containsValue(com.oracle.coherence.grpc.messages.cache.v0.ContainsValueRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer)
      Specified by:
      containsValue in interface NamedCacheService
    • entrySet

      public void entrySet(com.oracle.coherence.grpc.messages.cache.v0.EntrySetRequest request, io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.messages.cache.v0.Entry> observer)
      Specified by:
      entrySet in interface NamedCacheService
    • get

      public void get(com.oracle.coherence.grpc.messages.cache.v0.GetRequest request, io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.messages.cache.v0.OptionalValue> observer)
      Specified by:
      get in interface NamedCacheService
    • getAll

      public void getAll(com.oracle.coherence.grpc.messages.cache.v0.GetAllRequest request, io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.messages.cache.v0.Entry> observer)
      Specified by:
      getAll in interface NamedCacheService
    • invoke

      public void invoke(com.oracle.coherence.grpc.messages.cache.v0.InvokeRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer)
      Specified by:
      invoke in interface NamedCacheService
    • invokeAll

      public void invokeAll(com.oracle.coherence.grpc.messages.cache.v0.InvokeAllRequest request, io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.messages.cache.v0.Entry> observer)
      Specified by:
      invokeAll in interface NamedCacheService
    • invokeAllWithKeys

      protected void invokeAllWithKeys(com.oracle.coherence.grpc.v0.CacheRequestHolder<com.oracle.coherence.grpc.messages.cache.v0.InvokeAllRequest,Void> holder, io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.messages.cache.v0.Entry> observer)
      Execute the key-based InvokeAllRequest request passing the results to the provided StreamObserver.
      Parameters:
      holder - the CacheRequestHolder containing the InvokeAllRequest
      observer - the StreamObserver which will receive the results
    • invokeAllWithFilter

      protected void invokeAllWithFilter(com.oracle.coherence.grpc.v0.CacheRequestHolder<com.oracle.coherence.grpc.messages.cache.v0.InvokeAllRequest,Void> holder, io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.messages.cache.v0.Entry> observer)
      Execute the filtered InvokeAllRequest request passing the results to the provided StreamObserver.
      Parameters:
      holder - the CacheRequestHolder containing the InvokeAllRequest
      observer - the StreamObserver which will receive the results
    • isEmpty

      public void isEmpty(com.oracle.coherence.grpc.messages.cache.v0.IsEmptyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer)
      Specified by:
      isEmpty in interface NamedCacheService
    • isReady

      public void isReady(com.oracle.coherence.grpc.messages.cache.v0.IsReadyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer)
      Specified by:
      isReady in interface NamedCacheService
    • keySet

      public void keySet(com.oracle.coherence.grpc.messages.cache.v0.KeySetRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer)
      Specified by:
      keySet in interface NamedCacheService
    • nextKeySetPage

      public void nextKeySetPage(com.oracle.coherence.grpc.messages.cache.v0.PageRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer)
      Specified by:
      nextKeySetPage in interface NamedCacheService
    • nextEntrySetPage

      public void nextEntrySetPage(com.oracle.coherence.grpc.messages.cache.v0.PageRequest request, io.grpc.stub.StreamObserver<com.oracle.coherence.grpc.messages.cache.v0.EntryResult> observer)
      Specified by:
      nextEntrySetPage in interface NamedCacheService
    • put

      public void put(com.oracle.coherence.grpc.messages.cache.v0.PutRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer)
      Specified by:
      put in interface NamedCacheService
    • putAll

      public void putAll(com.oracle.coherence.grpc.messages.cache.v0.PutAllRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> observer)
      Specified by:
      putAll in interface NamedCacheService
    • putIfAbsent

      public void putIfAbsent(com.oracle.coherence.grpc.messages.cache.v0.PutIfAbsentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer)
      Specified by:
      putIfAbsent in interface NamedCacheService
    • remove

      public void remove(com.oracle.coherence.grpc.messages.cache.v0.RemoveRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer)
      Specified by:
      remove in interface NamedCacheService
    • removeIndex

      public void removeIndex(com.oracle.coherence.grpc.messages.cache.v0.RemoveIndexRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> observer)
      Specified by:
      removeIndex in interface NamedCacheService
    • removeMapping

      public void removeMapping(com.oracle.coherence.grpc.messages.cache.v0.RemoveMappingRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer)
      Specified by:
      removeMapping in interface NamedCacheService
    • replace

      public void replace(com.oracle.coherence.grpc.messages.cache.v0.ReplaceRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer)
      Specified by:
      replace in interface NamedCacheService
    • replaceMapping

      public void replaceMapping(com.oracle.coherence.grpc.messages.cache.v0.ReplaceMappingRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> observer)
      Specified by:
      replaceMapping in interface NamedCacheService
    • size

      public void size(com.oracle.coherence.grpc.messages.cache.v0.SizeRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Int32Value> observer)
      Specified by:
      size in interface NamedCacheService
    • truncate

      public void truncate(com.oracle.coherence.grpc.messages.cache.v0.TruncateRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> observer)
      Specified by:
      truncate in interface NamedCacheService
    • values

      public void values(com.oracle.coherence.grpc.messages.cache.v0.ValuesRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.BytesValue> observer)
      Execute the ValuesRequest request passing the results to the provided StreamObserver.
      Specified by:
      values in interface NamedCacheService
      Parameters:
      request - the ValuesRequest
      observer - the StreamObserver which will receive the results