Constructor and Description |
---|
HeartbeatMonitor(Clusters clusters,
ActionManager am,
int threadWakeupInterval,
com.google.inject.Injector injector) |
Modifier and Type | Method and Description |
---|---|
List<StatusCommand> |
generateStatusCommands(String hostname) |
AgentRequests |
getAgentRequests() |
boolean |
isAlive() |
void |
onMessageNotDelivered(MessageNotDelivered messageNotDelivered) |
void |
run() |
void |
shutdown() |
void |
start() |
public HeartbeatMonitor(Clusters clusters, ActionManager am, int threadWakeupInterval, com.google.inject.Injector injector)
public void shutdown()
public void start()
public boolean isAlive()
public AgentRequests getAgentRequests()
public List<StatusCommand> generateStatusCommands(String hostname) throws org.apache.ambari.server.AmbariException
hostname
- org.apache.ambari.server.AmbariException
public void onMessageNotDelivered(MessageNotDelivered messageNotDelivered)
Copyright © 2022 Apache Software Foundation. All rights reserved.