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 defaultGrpcServiceDependenciesimplementation.
-
-
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 managementRegistryto register the proxy MBean with.Optional<Long>getTransferThreshold()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 Detail
-
DefaultDependencies
public DefaultDependencies()
-
DefaultDependencies
public DefaultDependencies(GrpcServiceDependencies deps)
-
-
Method Detail
-
getNamedSerializerFactory
public Optional<NamedSerializerFactory> getNamedSerializerFactory()
Description copied from interface:GrpcServiceDependenciesReturn theNamedSerializerFactory.- Specified by:
getNamedSerializerFactoryin interfaceGrpcServiceDependencies- Returns:
- the
NamedSerializerFactory
-
setSerializerFactory
public void setSerializerFactory(NamedSerializerFactory serializerFactory)
Set theNamedSerializerFactory.- Parameters:
serializerFactory- theNamedSerializerFactory
-
getExecutor
public Optional<Executor> getExecutor()
Description copied from interface:GrpcServiceDependenciesReturn theExecutor.- Specified by:
getExecutorin 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: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
public Optional<Long> getTransferThreshold()
Description copied from interface:GrpcServiceDependenciesReturn the transfer threshold.- Specified by:
getTransferThresholdin 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:GrpcServiceDependenciesReturn the optional managementRegistryto register the proxy MBean with.- Specified by:
getRegistryin interfaceGrpcServiceDependencies- Returns:
- the optional management
Registryto register the proxy MBean with
-
setRegistry
public void setRegistry(Registry registry)
Set the managementRegistryto register the proxy MBean with.- Parameters:
registry- the managementRegistryto register the proxy MBean with
-
getContext
public Optional<com.tangosol.application.Context> 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
-
-