Package com.oracle.coherence.grpc.proxy
Class GrpcServiceDependencies.DefaultDependencies
java.lang.Object
com.oracle.coherence.grpc.proxy.GrpcServiceDependencies.DefaultDependencies
- All Implemented Interfaces:
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.GrpcServiceDependencies
GrpcServiceDependencies.DefaultDependencies -
Constructor Summary
Constructors -
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.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() -
DefaultDependencies
-
-
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 interfaceGrpcServiceDependencies- Returns:
- the optional application
Context
-
setContext
public void setContext(com.tangosol.application.Context context) Set theContext.- Parameters:
context- theContext
-