public class GRpcHeartBeatServiceImpl
extends com.netflix.genie.proto.HeartBeatServiceGrpc.HeartBeatServiceImplBase
| Constructor and Description |
|---|
GRpcHeartBeatServiceImpl(AgentConnectionTrackingService agentConnectionTrackingService,
HeartBeatProperties properties,
org.springframework.scheduling.TaskScheduler taskScheduler,
io.micrometer.core.instrument.MeterRegistry registry)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
io.grpc.stub.StreamObserver<com.netflix.genie.proto.AgentHeartBeat> |
heartbeat(io.grpc.stub.StreamObserver<com.netflix.genie.proto.ServerHeartBeat> responseObserver) |
void |
shutdown()
Shutdown this service.
|
public GRpcHeartBeatServiceImpl(AgentConnectionTrackingService agentConnectionTrackingService, HeartBeatProperties properties, org.springframework.scheduling.TaskScheduler taskScheduler, io.micrometer.core.instrument.MeterRegistry registry)
agentConnectionTrackingService - The AgentRoutingService implementation to useproperties - The service propertiestaskScheduler - The TaskScheduler instance to useregistry - The meter registry@PreDestroy public void shutdown()
public io.grpc.stub.StreamObserver<com.netflix.genie.proto.AgentHeartBeat> heartbeat(io.grpc.stub.StreamObserver<com.netflix.genie.proto.ServerHeartBeat> responseObserver)
heartbeat in class com.netflix.genie.proto.HeartBeatServiceGrpc.HeartBeatServiceImplBase