Interface AgentHeartBeatService
public interface AgentHeartBeatService
Service that maintains an active connection with a Genie server node by sending heart beats.
The agent messages are tagged with the job id this agent claimed and is executing.
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the agent is currently connected to a Genie node server.voidStarts the service.voidstop()Stop the service.
-
Method Details
-
start
Starts the service.- Parameters:
claimedJobId- the job id claimed by this agent
-
stop
void stop()Stop the service. -
isConnected
boolean isConnected()Whether the agent is currently connected to a Genie node server.- Returns:
- true if the agent has an active, working connection with a Genie server node.
-