Interface AgentRecoveryManager.HealthCheck

Enclosing class:
AgentRecoveryManager
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface AgentRecoveryManager.HealthCheck
Functional interface for agent health checks.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isHealthy(com.tnsai.agents.Agent agent)
    Checks whether an agent is healthy.
  • Method Details

    • isHealthy

      boolean isHealthy(com.tnsai.agents.Agent agent)
      Checks whether an agent is healthy.
      Parameters:
      agent - the agent to check
      Returns:
      true if the agent is healthy