Class GRpcHeartBeatServiceImpl
java.lang.Object
com.netflix.genie.proto.HeartBeatServiceGrpc.HeartBeatServiceImplBase
com.netflix.genie.web.agent.apis.rpc.v4.endpoints.GRpcHeartBeatServiceImpl
- All Implemented Interfaces:
- com.netflix.genie.proto.HeartBeatServiceGrpc.AsyncService,- io.grpc.BindableService
public class GRpcHeartBeatServiceImpl
extends com.netflix.genie.proto.HeartBeatServiceGrpc.HeartBeatServiceImplBase
An edge gRPC service that uses bi-directional streaming.
 This is useful to reliably track which connection is handled by which server and to detect disconnections on both
 ends.
- Since:
- 4.0.0
- 
Constructor SummaryConstructorsConstructorDescriptionGRpcHeartBeatServiceImpl(AgentConnectionTrackingService agentConnectionTrackingService, HeartBeatProperties properties, org.springframework.scheduling.TaskScheduler taskScheduler, io.micrometer.core.instrument.MeterRegistry registry) Constructor.
- 
Method SummaryMethods inherited from class com.netflix.genie.proto.HeartBeatServiceGrpc.HeartBeatServiceImplBasebindService
- 
Constructor Details- 
GRpcHeartBeatServiceImplpublic GRpcHeartBeatServiceImpl(AgentConnectionTrackingService agentConnectionTrackingService, HeartBeatProperties properties, org.springframework.scheduling.TaskScheduler taskScheduler, io.micrometer.core.instrument.MeterRegistry registry) Constructor.- Parameters:
- agentConnectionTrackingService- The- AgentRoutingServiceimplementation to use
- properties- The service properties
- taskScheduler- The- TaskSchedulerinstance to use
- registry- The meter registry
 
 
- 
- 
Method Details- 
shutdown@PreDestroy public void shutdown()Shutdown this service.
- 
heartbeatpublic io.grpc.stub.StreamObserver<com.netflix.genie.proto.AgentHeartBeat> heartbeat(io.grpc.stub.StreamObserver<com.netflix.genie.proto.ServerHeartBeat> responseObserver) 
 
-