@Configuration
public class AgentRpcEndpointsAutoConfiguration
extends java.lang.Object
Constructor and Description |
---|
AgentRpcEndpointsAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
GRpcAgentFileStreamServiceImpl |
gRpcAgentFileStreamService(JobDirectoryManifestProtoConverter converter,
org.springframework.scheduling.TaskScheduler taskScheduler)
Provide an implementation of
FileStreamServiceGrpc.FileStreamServiceImplBase
if no other is provided. |
GRpcHeartBeatServiceImpl |
gRpcHeartBeatService(AgentRoutingService agentRoutingService,
org.springframework.scheduling.TaskScheduler taskScheduler)
Provide an implementation of
HeartBeatServiceGrpc.HeartBeatServiceImplBase
if no other is provided. |
GRpcJobKillServiceImpl |
gRpcJobKillService(JobSearchService jobSearchService)
Provide an implementation of
JobKillServiceGrpc.JobKillServiceImplBase
if no other is provided. |
GRpcJobServiceImpl |
gRpcJobService(AgentJobService agentJobService,
JobServiceProtoConverter jobServiceProtoConverter,
JobServiceProtoErrorComposer protoErrorComposer)
Provide an implementation of
JobServiceGrpc.JobServiceImplBase if no other is
provided. |
GRpcPingServiceImpl |
gRpcPingService(GenieHostInfo genieHostInfo)
Provide an implementation of
PingServiceGrpc.PingServiceImplBase if no
other is provided. |
org.springframework.scheduling.TaskScheduler |
heartBeatServiceTaskScheduler()
Get the task scheduler used by the HeartBeat Service.
|
JobServiceProtoErrorComposer |
jobServiceProtoErrorComposer()
Bean for converting errors in the job service to gRPC messages.
|
@Bean @ConditionalOnMissingBean(name="heartBeatServiceTaskScheduler") public org.springframework.scheduling.TaskScheduler heartBeatServiceTaskScheduler()
@Bean @ConditionalOnMissingBean(value=JobServiceProtoErrorComposer.class) public JobServiceProtoErrorComposer jobServiceProtoErrorComposer()
JobServiceProtoErrorComposer
@Bean @ConditionalOnMissingBean(value=com.netflix.genie.proto.FileStreamServiceGrpc.FileStreamServiceImplBase.class) public GRpcAgentFileStreamServiceImpl gRpcAgentFileStreamService(JobDirectoryManifestProtoConverter converter, @Qualifier(value="genieTaskScheduler") org.springframework.scheduling.TaskScheduler taskScheduler)
FileStreamServiceGrpc.FileStreamServiceImplBase
if no other is provided.converter
- The JobDirectoryManifestProtoConverter
instance to usetaskScheduler
- The TaskScheduler
to use to schedule tasksGRpcAgentFileStreamServiceImpl
@Bean @ConditionalOnMissingBean(value=com.netflix.genie.proto.HeartBeatServiceGrpc.HeartBeatServiceImplBase.class) public GRpcHeartBeatServiceImpl gRpcHeartBeatService(AgentRoutingService agentRoutingService, @Qualifier(value="heartBeatServiceTaskScheduler") org.springframework.scheduling.TaskScheduler taskScheduler)
HeartBeatServiceGrpc.HeartBeatServiceImplBase
if no other is provided.agentRoutingService
- The AgentRoutingService
implementation to usetaskScheduler
- The TaskScheduler
instance to useGRpcHeartBeatServiceImpl
instance@Bean @ConditionalOnMissingBean(value=com.netflix.genie.proto.JobKillServiceGrpc.JobKillServiceImplBase.class) public GRpcJobKillServiceImpl gRpcJobKillService(JobSearchService jobSearchService)
JobKillServiceGrpc.JobKillServiceImplBase
if no other is provided.jobSearchService
- The JobSearchService
instance to useGRpcJobKillServiceImpl
instance@Bean @ConditionalOnMissingBean(value=com.netflix.genie.proto.JobServiceGrpc.JobServiceImplBase.class) public GRpcJobServiceImpl gRpcJobService(AgentJobService agentJobService, JobServiceProtoConverter jobServiceProtoConverter, JobServiceProtoErrorComposer protoErrorComposer)
JobServiceGrpc.JobServiceImplBase
if no other is
provided.agentJobService
- The AgentJobService
instance to usejobServiceProtoConverter
- The JobServiceProtoConverter
instance to useprotoErrorComposer
- The JobServiceProtoErrorComposer
instance to useGRpcJobServiceImpl
instance@Bean @ConditionalOnMissingBean(value=com.netflix.genie.proto.PingServiceGrpc.PingServiceImplBase.class) public GRpcPingServiceImpl gRpcPingService(GenieHostInfo genieHostInfo)
PingServiceGrpc.PingServiceImplBase
if no
other is provided.genieHostInfo
- The information about the Genie hostGRpcPingServiceImpl