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 defaultGrpcServiceDependencies
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(GrpcServiceDependencies deps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<com.tangosol.application.Context>
getContext()
Return the optional applicationContext
.Optional<com.tangosol.internal.util.DaemonPool>
getDaemonPool()
Return theDaemonPool
.Optional<Executor>
getExecutor()
Return theExecutor
.Optional<NamedSerializerFactory>
getNamedSerializerFactory()
Return theNamedSerializerFactory
.Optional<Registry>
getRegistry()
Return the optional managementRegistry
to register the proxy MBean with.Optional<Long>
getTransferThreshold()
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 Detail
-
DefaultDependencies
public DefaultDependencies()
-
DefaultDependencies
public DefaultDependencies(GrpcServiceDependencies deps)
-
-
Method Detail
-
getNamedSerializerFactory
public Optional<NamedSerializerFactory> getNamedSerializerFactory()
Description copied from interface:GrpcServiceDependencies
Return theNamedSerializerFactory
.- Specified by:
getNamedSerializerFactory
in interfaceGrpcServiceDependencies
- Returns:
- the
NamedSerializerFactory
-
setSerializerFactory
public void setSerializerFactory(NamedSerializerFactory serializerFactory)
Set theNamedSerializerFactory
.- Parameters:
serializerFactory
- theNamedSerializerFactory
-
getExecutor
public Optional<Executor> getExecutor()
Description copied from interface:GrpcServiceDependencies
Return theExecutor
.- Specified by:
getExecutor
in interfaceGrpcServiceDependencies
- Returns:
- the
Executor
-
setExecutor
public void setExecutor(Executor executor)
Set theExecutor
.- Parameters:
executor
- theExecutor
-
getDaemonPool
public Optional<com.tangosol.internal.util.DaemonPool> 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
public Optional<Long> getTransferThreshold()
Description copied from interface:GrpcServiceDependencies
Return the transfer threshold.- Specified by:
getTransferThreshold
in interfaceGrpcServiceDependencies
- Returns:
- the transfer threshold
-
setTransferThreshold
public void setTransferThreshold(Long transferThreshold)
Set the transfer threshold.- Parameters:
transferThreshold
- the transfer threshold
-
getRegistry
public Optional<Registry> 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
public void setRegistry(Registry registry)
Set the managementRegistry
to register the proxy MBean with.- Parameters:
registry
- the managementRegistry
to register the proxy MBean with
-
getContext
public Optional<com.tangosol.application.Context> 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
-
-