Interface GrpcServiceDependencies
- All Superinterfaces:
GrpcService.Dependencies
- All Known Subinterfaces:
BaseGrpcServiceImpl.Dependencies
,NamedCacheService.Dependencies
,ProxyServiceGrpcImpl.Dependencies
- All Known Implementing Classes:
BaseGrpcServiceImpl.DefaultDependencies
,GrpcServiceDependencies.DefaultDependencies
,NamedCacheService.DefaultDependencies
,ProxyServiceGrpcImpl.DefaultDependencies
The dependencies for a gRPC bindable service.
- Since:
- 22.06.2
- Author:
- Jonathan Knight 2022.08.25
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
The defaultGrpcServiceDependencies
implementation. -
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.com.tangosol.net.grpc.GrpcDependencies.ServerType
Return the type of the gRPC server.Return the transfer threshold.
-
Method Details
-
getNamedSerializerFactory
Optional<NamedSerializerFactory> getNamedSerializerFactory()Return theNamedSerializerFactory
.- Returns:
- the
NamedSerializerFactory
-
getExecutor
Return theExecutor
.- Returns:
- the
Executor
-
getDaemonPool
Optional<com.tangosol.internal.util.DaemonPool> getDaemonPool()Return theDaemonPool
.- Returns:
- the
DaemonPool
-
getTransferThreshold
Return the transfer threshold.- Returns:
- the transfer threshold
-
getRegistry
Return the optional managementRegistry
to register the proxy MBean with.- Returns:
- the optional management
Registry
to register the proxy MBean with
-
getContext
Optional<com.tangosol.application.Context> getContext()Return the optional applicationContext
.- Specified by:
getContext
in interfaceGrpcService.Dependencies
- Returns:
- the optional application
Context
-
getServerType
com.tangosol.net.grpc.GrpcDependencies.ServerType getServerType()Return the type of the gRPC server.- Returns:
- the type of the gRPC server
-