Class BaseGrpcScheme<T extends com.tangosol.internal.net.grpc.DefaultRemoteGrpcServiceDependencies,S extends Service> 
java.lang.Object
com.tangosol.coherence.config.scheme.AbstractScheme
com.tangosol.coherence.config.scheme.AbstractServiceScheme<T>
com.tangosol.coherence.config.scheme.AbstractCachingScheme<T>
com.tangosol.coherence.config.scheme.BaseGrpcScheme<T,S> 
- All Implemented Interfaces:
- BackingMapManagerBuilder,- MapBuilder,- NamedCacheBuilder,- ServiceBuilder,- CachingScheme,- ObservableCachingScheme,- Scheme,- ServiceScheme
- Direct Known Subclasses:
- BaseGrpcCacheScheme
public abstract class BaseGrpcScheme<T extends com.tangosol.internal.net.grpc.DefaultRemoteGrpcServiceDependencies,S extends Service> 
extends AbstractCachingScheme<T>
The 
BaseGrpcScheme is responsible for building a
 remote gRPC service.
 This class is sub-classed in the Coherence Java gRPC client module and that subclass does all the actual work. This allows the grpc remote scheme to be added to a cache configuration file even if the gRPC client is not on the class path and nothing will break.
- Since:
- 23.03
- Author:
- Jonathan Knight 2023.02.02
- 
Nested Class SummaryNested classes/interfaces inherited from class com.tangosol.coherence.config.scheme.AbstractCachingSchemeAbstractCachingScheme.CacheDequeBuilderNested classes/interfaces inherited from interface com.tangosol.coherence.config.builder.MapBuilderMapBuilder.Dependencies
- 
Field SummaryFields inherited from class com.tangosol.coherence.config.scheme.AbstractServiceSchemem_serviceDependenciesFields inherited from interface com.tangosol.coherence.config.scheme.ServiceSchemeDELIM_APPLICATION_SCOPE, DELIM_DOMAIN_PARTITION
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected ClusterDependencies.ServiceProviderReturns theClusterDependencies.ServiceProviderinstance to use to create new instances of the service.booleanReturn true if a running cluster is needed before using a service.voidsetRemoteScopeName(String sName) Set the scope name to use to access resources on the remote cluster.Methods inherited from class com.tangosol.coherence.config.scheme.AbstractCachingSchemeestablishMapListeners, getDefaultParameterResolver, getListenerBuilder, getNamedCollectionBuilder, realizeBackingMapManager, realizeCache, realizeMap, setListenerBuilder, validateMethods inherited from class com.tangosol.coherence.config.scheme.AbstractServiceSchemeensureService, getDefaultServiceName, getEventInterceptorBuilders, getScopedServiceName, getScopeName, getServiceBuilder, getServiceDependencies, getServiceName, getXml, injectScopeNameIntoService, isAutoStart, realizeService, setAutoStart, setScopeName, setServiceDependencies, setServiceName, setXmlMethods inherited from class com.tangosol.coherence.config.scheme.AbstractSchemegetSchemeName, isAnonymous, setSchemeName, validateMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tangosol.coherence.config.scheme.SchemegetSchemeName, isAnonymousMethods inherited from interface com.tangosol.coherence.config.scheme.ServiceSchemegetEventInterceptorBuilders, getScopedServiceName, getServiceBuilder, getServiceName, getServiceType, isAutoStart
- 
Constructor Details- 
BaseGrpcSchemeConstructs aBaseGrpcScheme.
 
- 
- 
Method Details- 
setRemoteScopeNameSet the scope name to use to access resources on the remote cluster.- Parameters:
- sName- the scope name to use to access resources on the remote cluster
 
- 
isRunningClusterNeededpublic boolean isRunningClusterNeeded()Description copied from class:AbstractServiceSchemeReturn true if a running cluster is needed before using a service.- Specified by:
- isRunningClusterNeededin interface- ServiceBuilder
- Specified by:
- isRunningClusterNeededin class- AbstractServiceScheme<T extends com.tangosol.internal.net.grpc.DefaultRemoteGrpcServiceDependencies>
- Returns:
- trueif a running cluster is needed before using a service
 
- 
getServiceProviderReturns theClusterDependencies.ServiceProviderinstance to use to create new instances of the service.- Returns:
- the ClusterDependencies.ServiceProviderinstance to use to create new instances of the service
 
 
-