Class ClientMetadata
java.lang.Object
com.netflix.genie.common.internal.dtos.ClientMetadata
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AgentClientMetadata
,ApiClientMetadata
Common base for API and Agent client metadata.
- Since:
- 4.0.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ClientMetadata
Constructor.- Parameters:
hostname
- The hostname of the client to the Genie server
-
-
Method Details
-
getHostname
Get the hostname of the client.- Returns:
- The hostname if there is one wrapped in an
Optional
-