Interface AgentMetadata

All Known Implementing Classes:
AgentMetadataImpl

public interface AgentMetadata
Container for Genie agent metadata and runtime information.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotBlank String
    Get the name of the host the agent is running on.
    @NotBlank String
    Get the agent process ID.
    @NotBlank String
    Get the agent version string, as it appears in the agent jar metadata.
  • Method Details

    • getAgentVersion

      @NotBlank @NotBlank String getAgentVersion()
      Get the agent version string, as it appears in the agent jar metadata.
      Returns:
      a version string or a fallback
    • getAgentHostName

      @NotBlank @NotBlank String getAgentHostName()
      Get the name of the host the agent is running on.
      Returns:
      a hostname or a fallback string
    • getAgentPid

      @NotBlank @NotBlank String getAgentPid()
      Get the agent process ID.
      Returns:
      the agent process ID or a fallback string