Class AgentConfigRequest

java.lang.Object
com.netflix.genie.common.internal.dtos.AgentConfigRequest
All Implemented Interfaces:
Serializable

public class AgentConfigRequest extends Object implements Serializable
Configuration options for the Genie agent.
Since:
4.0.0
See Also:
  • Method Details

    • getTimeoutRequested

      public Optional<Integer> 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

      public Optional<File> getRequestedJobDirectoryLocation()
      Get the location where the Agent should place the job directory when it runs.
      Returns:
      The directory location wrapped in an Optional
    • getExt

      public Optional<com.fasterxml.jackson.databind.JsonNode> getExt()
      Get the extension variables to the agent configuration as a JSON blob.
      Returns:
      The extension variables wrapped in an Optional