Package com.oracle.coherence.grpc.proxy
Class BaseGrpcServiceImpl.DefaultDependencies
- java.lang.Object
-
- com.oracle.coherence.grpc.proxy.GrpcServiceDependencies.DefaultDependencies
-
- com.oracle.coherence.grpc.proxy.BaseGrpcServiceImpl.DefaultDependencies
-
- All Implemented Interfaces:
BaseGrpcServiceImpl.Dependencies
,GrpcServiceDependencies
- Direct Known Subclasses:
NamedCacheService.DefaultDependencies
- Enclosing class:
- BaseGrpcServiceImpl
public static class BaseGrpcServiceImpl.DefaultDependencies extends GrpcServiceDependencies.DefaultDependencies implements BaseGrpcServiceImpl.Dependencies
The defaultBaseGrpcServiceImpl.Dependencies
implementation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.oracle.coherence.grpc.proxy.GrpcServiceDependencies
GrpcServiceDependencies.DefaultDependencies
-
-
Constructor Summary
Constructors Constructor Description DefaultDependencies()
DefaultDependencies(BaseGrpcServiceImpl.Dependencies deps)
DefaultDependencies(GrpcServiceDependencies deps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Function<String,ConfigurableCacheFactory>>
getCacheFactorySupplier()
Return the function to use to obtain namedConfigurableCacheFactory
instances.void
setConfigurableCacheFactorySupplier(Function<String,ConfigurableCacheFactory> ccfSupplier)
Set the function to use to obtain namedConfigurableCacheFactory
instances.-
Methods inherited from class com.oracle.coherence.grpc.proxy.GrpcServiceDependencies.DefaultDependencies
getContext, getDaemonPool, getExecutor, getNamedSerializerFactory, getRegistry, getTransferThreshold, setContext, setDaemonPool, setExecutor, setRegistry, setSerializerFactory, setTransferThreshold
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.coherence.grpc.proxy.GrpcServiceDependencies
getContext, getDaemonPool, getExecutor, getNamedSerializerFactory, getRegistry, getTransferThreshold
-
-
-
-
Constructor Detail
-
DefaultDependencies
public DefaultDependencies()
-
DefaultDependencies
public DefaultDependencies(GrpcServiceDependencies deps)
-
DefaultDependencies
public DefaultDependencies(BaseGrpcServiceImpl.Dependencies deps)
-
-
Method Detail
-
getCacheFactorySupplier
public Optional<Function<String,ConfigurableCacheFactory>> getCacheFactorySupplier()
Description copied from interface:BaseGrpcServiceImpl.Dependencies
Return the function to use to obtain namedConfigurableCacheFactory
instances.- Specified by:
getCacheFactorySupplier
in interfaceBaseGrpcServiceImpl.Dependencies
- Returns:
- the function to use to obtain named
ConfigurableCacheFactory
instances
-
setConfigurableCacheFactorySupplier
public void setConfigurableCacheFactorySupplier(Function<String,ConfigurableCacheFactory> ccfSupplier)
Set the function to use to obtain namedConfigurableCacheFactory
instances.- Parameters:
ccfSupplier
- the function to use to obtain namedConfigurableCacheFactory
instances
-
-