Class GrpcRemoteCacheService

  • All Implemented Interfaces:
    com.tangosol.io.ClassLoaderAware, com.tangosol.net.CacheService, com.tangosol.net.Service, com.tangosol.net.ServiceInfo, com.tangosol.util.Controllable, com.tangosol.util.Service

    public class GrpcRemoteCacheService
    extends GrpcRemoteService<com.tangosol.internal.net.grpc.RemoteGrpcCacheServiceDependencies>
    implements com.tangosol.net.CacheService
    A remote cache service that accesses caches via a remote gRPC proxy.
    Since:
    22.06.2
    Author:
    Jonathan Knight 2022.08.25
    • Constructor Detail

      • GrpcRemoteCacheService

        public GrpcRemoteCacheService()
    • Method Detail

      • getBackingMapManager

        public com.tangosol.net.BackingMapManager getBackingMapManager()
        Specified by:
        getBackingMapManager in interface com.tangosol.net.CacheService
      • setBackingMapManager

        public void setBackingMapManager​(com.tangosol.net.BackingMapManager manager)
        Specified by:
        setBackingMapManager in interface com.tangosol.net.CacheService
      • ensureCache

        public com.tangosol.net.NamedCache ensureCache​(String sName,
                                                       ClassLoader ignored)
        Specified by:
        ensureCache in interface com.tangosol.net.CacheService
      • getCacheNames

        public Enumeration getCacheNames()
        Specified by:
        getCacheNames in interface com.tangosol.net.CacheService
      • releaseCache

        public void releaseCache​(com.tangosol.net.NamedCache map)
        Specified by:
        releaseCache in interface com.tangosol.net.CacheService
      • destroyCache

        public void destroyCache​(com.tangosol.net.NamedCache map)
        Specified by:
        destroyCache in interface com.tangosol.net.CacheService
      • isVersionCompatible

        public boolean isVersionCompatible​(int nMajor,
                                           int nMinor,
                                           int nMicro,
                                           int nPatchSet,
                                           int nPatch)
        Specified by:
        isVersionCompatible in interface com.tangosol.net.Service
      • isVersionCompatible

        public boolean isVersionCompatible​(int nYear,
                                           int nMonth,
                                           int nPatch)
        Specified by:
        isVersionCompatible in interface com.tangosol.net.Service
      • isVersionCompatible

        public boolean isVersionCompatible​(int nVersion)
        Specified by:
        isVersionCompatible in interface com.tangosol.net.Service
      • isVersionCompatible

        public boolean isVersionCompatible​(IntPredicate predicate)
        Specified by:
        isVersionCompatible in interface com.tangosol.net.Service
      • getMinimumServiceVersion

        public int getMinimumServiceVersion()
        Specified by:
        getMinimumServiceVersion in interface com.tangosol.net.Service
      • stopInternal

        protected void stopInternal()
        Description copied from class: GrpcRemoteService
        Perform any stop tasks required by subclasses.
        Specified by:
        stopInternal in class GrpcRemoteService<com.tangosol.internal.net.grpc.RemoteGrpcCacheServiceDependencies>
      • getDefaultEventDispatcherRegistry

        protected com.tangosol.net.events.EventDispatcherRegistry getDefaultEventDispatcherRegistry()
        Description copied from class: GrpcRemoteService
        Return the default EventDispatcherRegistry to use.
        Specified by:
        getDefaultEventDispatcherRegistry in class GrpcRemoteService<com.tangosol.internal.net.grpc.RemoteGrpcCacheServiceDependencies>
        Returns:
        the default EventDispatcherRegistry to use