Class AgentConfigRequest
java.lang.Object
com.netflix.genie.common.internal.dtos.AgentConfigRequest
- All Implemented Interfaces:
Serializable
Configuration options for the Genie agent.
- Since:
- 4.0.0
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder to create an immutableAgentConfigRequest
instance. -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.fasterxml.jackson.databind.JsonNode>
getExt()
Get the extension variables to the agent configuration as a JSON blob.Get the location where the Agent should place the job directory when it runs.Get the amount of time (in seconds) after the job starts that the agent should timeout and kill the job.
-
Method Details
-
getTimeoutRequested
Get the amount of time (in seconds) after the job starts that the agent should timeout and kill the job.- Returns:
- The time in seconds if one was requested wrapped in an
Optional
-
getRequestedJobDirectoryLocation
Get the location where the Agent should place the job directory when it runs.- Returns:
- The directory location wrapped in an
Optional
-
getExt
Get the extension variables to the agent configuration as a JSON blob.- Returns:
- The extension variables wrapped in an
Optional
-