Class GrpcServiceDependencies.DefaultDependencies
java.lang.Object
com.oracle.coherence.grpc.proxy.common.GrpcServiceDependencies.DefaultDependencies
- All Implemented Interfaces:
 GrpcService.Dependencies,GrpcServiceDependencies
- Direct Known Subclasses:
 BaseGrpcServiceImpl.DefaultDependencies
- Enclosing interface:
 GrpcServiceDependencies
public static class GrpcServiceDependencies.DefaultDependencies
extends Object
implements GrpcServiceDependencies
The default 
GrpcServiceDependencies 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 TypeMethodDescriptionOptional<com.tangosol.application.Context> Return the optional applicationContext.Optional<com.tangosol.internal.util.DaemonPool> Return theDaemonPool.Return theExecutor.Return theNamedSerializerFactory.Return the optional managementRegistryto register the proxy MBean with.com.tangosol.net.grpc.GrpcDependencies.ServerTypeReturn the type of the gRPC server.Return the transfer threshold.voidsetContext(com.tangosol.application.Context context) Set theContext.voidsetDaemonPool(com.tangosol.internal.util.DaemonPool pool) Set theDaemonPool.voidsetExecutor(Executor executor) Set theExecutor.voidsetRegistry(Registry registry) Set the managementRegistryto register the proxy MBean with.voidsetSerializerFactory(NamedSerializerFactory serializerFactory) Set theNamedSerializerFactory.voidsetTransferThreshold(Long transferThreshold) Set the transfer threshold. 
- 
Constructor Details
- 
DefaultDependencies
public DefaultDependencies(com.tangosol.net.grpc.GrpcDependencies.ServerType serverType) - Parameters:
 serverType- the type of the gRPC server
 - 
DefaultDependencies
- Parameters:
 deps- the dependencies to copy
 
 - 
 - 
Method Details
- 
getNamedSerializerFactory
Description copied from interface:GrpcServiceDependenciesReturn theNamedSerializerFactory.- Specified by:
 getNamedSerializerFactoryin interfaceGrpcServiceDependencies- Returns:
 - the 
NamedSerializerFactory 
 - 
setSerializerFactory
Set theNamedSerializerFactory.- Parameters:
 serializerFactory- theNamedSerializerFactory
 - 
getExecutor
Description copied from interface:GrpcServiceDependenciesReturn theExecutor.- Specified by:
 getExecutorin interfaceGrpcServiceDependencies- Returns:
 - the 
Executor 
 - 
setExecutor
Set theExecutor.- Parameters:
 executor- theExecutor
 - 
getDaemonPool
Description copied from interface:GrpcServiceDependenciesReturn theDaemonPool.- Specified by:
 getDaemonPoolin interfaceGrpcServiceDependencies- Returns:
 - the 
DaemonPool 
 - 
setDaemonPool
public void setDaemonPool(com.tangosol.internal.util.DaemonPool pool) Set theDaemonPool.- Parameters:
 pool- theDaemonPool
 - 
getTransferThreshold
Description copied from interface:GrpcServiceDependenciesReturn the transfer threshold.- Specified by:
 getTransferThresholdin interfaceGrpcServiceDependencies- Returns:
 - the transfer threshold
 
 - 
setTransferThreshold
Set the transfer threshold.- Parameters:
 transferThreshold- the transfer threshold
 - 
getRegistry
Description copied from interface:GrpcServiceDependenciesReturn the optional managementRegistryto register the proxy MBean with.- Specified by:
 getRegistryin interfaceGrpcServiceDependencies- Returns:
 - the optional management 
Registryto register the proxy MBean with 
 - 
setRegistry
Set the managementRegistryto register the proxy MBean with.- Parameters:
 registry- the managementRegistryto register the proxy MBean with
 - 
getContext
Description copied from interface:GrpcServiceDependenciesReturn the optional applicationContext.- Specified by:
 getContextin interfaceGrpcService.Dependencies- Specified by:
 getContextin interfaceGrpcServiceDependencies- Returns:
 - the optional application 
Context 
 - 
setContext
public void setContext(com.tangosol.application.Context context) Set theContext.- Parameters:
 context- theContext
 - 
getServerType
public com.tangosol.net.grpc.GrpcDependencies.ServerType getServerType()Description copied from interface:GrpcServiceDependenciesReturn the type of the gRPC server.- Specified by:
 getServerTypein interfaceGrpcServiceDependencies- Returns:
 - the type of the gRPC server
 
 
 -