public static final class Health.ServiceFactory extends GrpcServiceFactory<Health.HealthService>
| Modifier and Type | Class and Description |
|---|---|
static class |
Health.ServiceFactory.Builder |
| Constructor and Description |
|---|
ServiceFactory(Health.BlockingHealthService service)
Create a new instance.
|
ServiceFactory(Health.BlockingHealthService service,
List<ContentCodec> supportedMessageCodings)
|
ServiceFactory(Health.BlockingHealthService service,
RouteExecutionStrategyFactory<GrpcExecutionStrategy> strategyFactory)
Create a new instance.
|
ServiceFactory(Health.BlockingHealthService service,
RouteExecutionStrategyFactory<GrpcExecutionStrategy> strategyFactory,
List<ContentCodec> supportedMessageCodings)
|
ServiceFactory(Health.HealthService service)
Create a new instance.
|
ServiceFactory(Health.HealthService service,
List<ContentCodec> supportedMessageCodings)
|
ServiceFactory(Health.HealthService service,
RouteExecutionStrategyFactory<GrpcExecutionStrategy> strategyFactory)
Create a new instance.
|
ServiceFactory(Health.HealthService service,
RouteExecutionStrategyFactory<GrpcExecutionStrategy> strategyFactory,
List<ContentCodec> supportedMessageCodings)
|
public ServiceFactory(Health.HealthService service)
service - a service to handle incoming requests@Deprecated public ServiceFactory(Health.HealthService service, List<ContentCodec> supportedMessageCodings)
Builder(), Health.ServiceFactory.Builder.bufferDecoderGroup(BufferDecoderGroup), and Health.ServiceFactory.Builder.bufferEncoders(List).service - a service to handle incoming requestssupportedMessageCodings - the set of allowed encodingspublic ServiceFactory(Health.HealthService service, RouteExecutionStrategyFactory<GrpcExecutionStrategy> strategyFactory)
service - a service to handle incoming requestsstrategyFactory - a factory that creates an execution strategy for different ids@Deprecated public ServiceFactory(Health.HealthService service, RouteExecutionStrategyFactory<GrpcExecutionStrategy> strategyFactory, List<ContentCodec> supportedMessageCodings)
Builder(RouteExecutionStrategyFactory), Health.ServiceFactory.Builder.bufferDecoderGroup(BufferDecoderGroup), and Health.ServiceFactory.Builder.bufferEncoders(List).service - a service to handle incoming requestsstrategyFactory - a factory that creates an execution strategy for different idssupportedMessageCodings - the set of allowed encodingspublic ServiceFactory(Health.BlockingHealthService service)
service - a service to handle incoming requests@Deprecated public ServiceFactory(Health.BlockingHealthService service, List<ContentCodec> supportedMessageCodings)
Builder(), Health.ServiceFactory.Builder.bufferDecoderGroup(BufferDecoderGroup), and Health.ServiceFactory.Builder.bufferEncoders(List).service - a service to handle incoming requestssupportedMessageCodings - the set of allowed encodingspublic ServiceFactory(Health.BlockingHealthService service, RouteExecutionStrategyFactory<GrpcExecutionStrategy> strategyFactory)
service - a service to handle incoming requestsstrategyFactory - a factory that creates an execution strategy for different ids@Deprecated public ServiceFactory(Health.BlockingHealthService service, RouteExecutionStrategyFactory<GrpcExecutionStrategy> strategyFactory, List<ContentCodec> supportedMessageCodings)
Builder(RouteExecutionStrategyFactory), Health.ServiceFactory.Builder.bufferDecoderGroup(BufferDecoderGroup), and Health.ServiceFactory.Builder.bufferEncoders(List).service - a service to handle incoming requestsstrategyFactory - a factory that creates an execution strategy for different idssupportedMessageCodings - the set of allowed encodings