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
-
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 managementRegistry
to register the proxy MBean with.Return the transfer threshold.void
setContext
(com.tangosol.application.Context context) Set theContext
.void
setDaemonPool
(com.tangosol.internal.util.DaemonPool pool) Set theDaemonPool
.void
setExecutor
(Executor executor) Set theExecutor
.void
setRegistry
(Registry registry) Set the managementRegistry
to register the proxy MBean with.void
setSerializerFactory
(NamedSerializerFactory serializerFactory) Set theNamedSerializerFactory
.void
setTransferThreshold
(Long transferThreshold) Set the transfer threshold.
-
Constructor Details
-
DefaultDependencies
public DefaultDependencies() -
DefaultDependencies
-
-
Method Details
-
getNamedSerializerFactory
Description copied from interface:GrpcServiceDependencies
Return theNamedSerializerFactory
.- Specified by:
getNamedSerializerFactory
in interfaceGrpcServiceDependencies
- Returns:
- the
NamedSerializerFactory
-
setSerializerFactory
Set theNamedSerializerFactory
.- Parameters:
serializerFactory
- theNamedSerializerFactory
-
getExecutor
Description copied from interface:GrpcServiceDependencies
Return theExecutor
.- Specified by:
getExecutor
in interfaceGrpcServiceDependencies
- Returns:
- the
Executor
-
setExecutor
Set theExecutor
.- Parameters:
executor
- theExecutor
-
getDaemonPool
Description copied from interface:GrpcServiceDependencies
Return theDaemonPool
.- Specified by:
getDaemonPool
in interfaceGrpcServiceDependencies
- Returns:
- the
DaemonPool
-
setDaemonPool
public void setDaemonPool(com.tangosol.internal.util.DaemonPool pool) Set theDaemonPool
.- Parameters:
pool
- theDaemonPool
-
getTransferThreshold
Description copied from interface:GrpcServiceDependencies
Return the transfer threshold.- Specified by:
getTransferThreshold
in interfaceGrpcServiceDependencies
- Returns:
- the transfer threshold
-
setTransferThreshold
Set the transfer threshold.- Parameters:
transferThreshold
- the transfer threshold
-
getRegistry
Description copied from interface:GrpcServiceDependencies
Return the optional managementRegistry
to register the proxy MBean with.- Specified by:
getRegistry
in interfaceGrpcServiceDependencies
- Returns:
- the optional management
Registry
to register the proxy MBean with
-
setRegistry
Set the managementRegistry
to register the proxy MBean with.- Parameters:
registry
- the managementRegistry
to register the proxy MBean with
-
getContext
Description copied from interface:GrpcServiceDependencies
Return the optional applicationContext
.- Specified by:
getContext
in interfaceGrpcServiceDependencies
- Returns:
- the optional application
Context
-
setContext
public void setContext(com.tangosol.application.Context context) Set theContext
.- Parameters:
context
- theContext
-