Class BaseGrpcServiceImpl.DefaultDependencies
java.lang.Object
com.oracle.coherence.grpc.proxy.common.GrpcServiceDependencies.DefaultDependencies
com.oracle.coherence.grpc.proxy.common.BaseGrpcServiceImpl.DefaultDependencies
- All Implemented Interfaces:
GrpcService.Dependencies,BaseGrpcServiceImpl.Dependencies,GrpcServiceDependencies
- Direct Known Subclasses:
NamedCacheService.DefaultDependencies,ProxyServiceGrpcImpl.DefaultDependencies
- Enclosing class:
BaseGrpcServiceImpl
public static class BaseGrpcServiceImpl.DefaultDependencies
extends GrpcServiceDependencies.DefaultDependencies
implements BaseGrpcServiceImpl.Dependencies
The default
BaseGrpcServiceImpl.Dependencies implementation.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.oracle.coherence.grpc.proxy.common.GrpcServiceDependencies
GrpcServiceDependencies.DefaultDependencies -
Constructor Summary
ConstructorsConstructorDescriptionDefaultDependencies(com.tangosol.net.grpc.GrpcDependencies.ServerType serverType) -
Method Summary
Modifier and TypeMethodDescriptionReturn the function to use to obtain namedConfigurableCacheFactoryinstances.voidSet the function to use to obtain namedConfigurableCacheFactoryinstances.Methods inherited from class com.oracle.coherence.grpc.proxy.common.GrpcServiceDependencies.DefaultDependencies
getContext, getDaemonPool, getExecutor, getNamedSerializerFactory, getRegistry, getServerType, getTransferThreshold, setContext, setDaemonPool, setExecutor, setRegistry, setSerializerFactory, setTransferThresholdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.oracle.coherence.grpc.proxy.common.GrpcServiceDependencies
getContext, getDaemonPool, getExecutor, getNamedSerializerFactory, getRegistry, getServerType, getTransferThreshold
-
Constructor Details
-
DefaultDependencies
public DefaultDependencies(com.tangosol.net.grpc.GrpcDependencies.ServerType serverType) -
DefaultDependencies
-
DefaultDependencies
-
-
Method Details
-
getCacheFactorySupplier
Description copied from interface:BaseGrpcServiceImpl.DependenciesReturn the function to use to obtain namedConfigurableCacheFactoryinstances.- Specified by:
getCacheFactorySupplierin interfaceBaseGrpcServiceImpl.Dependencies- Returns:
- the function to use to obtain named
ConfigurableCacheFactoryinstances
-
setConfigurableCacheFactorySupplier
public void setConfigurableCacheFactorySupplier(Function<String, ConfigurableCacheFactory> ccfSupplier) Set the function to use to obtain namedConfigurableCacheFactoryinstances.- Parameters:
ccfSupplier- the function to use to obtain namedConfigurableCacheFactoryinstances
-