Package com.netflix.genie.agent
Interface AgentMetadata
- All Known Implementing Classes:
AgentMetadataImpl
public interface AgentMetadata
Container for Genie agent metadata and runtime information.
- Since:
- 4.0.0
-
Method Details
-
getAgentVersion
Get the agent version string, as it appears in the agent jar metadata.- Returns:
- a version string or a fallback
-
getAgentHostName
Get the name of the host the agent is running on.- Returns:
- a hostname or a fallback string
-
getAgentPid
Get the agent process ID.- Returns:
- the agent process ID or a fallback string
-