Class FinishedJob

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

public class FinishedJob extends CommonMetadata
DTO for a job that reached a final state.
Since:
4.0.0
See Also:
  • Method Details

    • getStarted

      public Optional<Instant> getStarted()
      Getter for optional field.
      Returns:
      the job start timestamp, if present
    • getFinished

      public Optional<Instant> getFinished()
      Getter for optional field.
      Returns:
      the job completion timestamp, if present
    • getGrouping

      public Optional<String> getGrouping()
      Getter for optional field.
      Returns:
      the job grouping, if present
    • getGroupingInstance

      public Optional<String> getGroupingInstance()
      Getter for optional field.
      Returns:
      the job grouping instance, if present
    • getStatusMessage

      public Optional<String> getStatusMessage()
      Getter for optional field.
      Returns:
      the job final status message, if present
    • getRequestedMemory

      public Optional<Long> getRequestedMemory()
      Getter for optional field.
      Returns:
      the job requested memory, if present
    • getRequestApiClientHostname

      public Optional<String> getRequestApiClientHostname()
      Getter for optional field.
      Returns:
      the requesting client hostname, if present
    • getRequestApiClientUserAgent

      public Optional<String> getRequestApiClientUserAgent()
      Getter for optional field.
      Returns:
      the requesting client user-agent, if present
    • getRequestAgentClientHostname

      public Optional<String> getRequestAgentClientHostname()
      Getter for optional field.
      Returns:
      the executing agent hostname, if present
    • getRequestAgentClientVersion

      public Optional<String> getRequestAgentClientVersion()
      Getter for optional field.
      Returns:
      the executing agent version, if present
    • getNumAttachments

      public Optional<Integer> getNumAttachments()
      Getter for optional field.
      Returns:
      the number of job attachments, if present
    • getExitCode

      public Optional<Integer> getExitCode()
      Getter for optional field.
      Returns:
      the job process exit code, if present
    • getArchiveLocation

      public Optional<String> getArchiveLocation()
      Getter for optional field.
      Returns:
      the job outputs archive location, if present
    • getMemoryUsed

      public Optional<Long> getMemoryUsed()
      Getter for optional field.
      Returns:
      the job used memory, if present
    • getCommand

      public Optional<Command> getCommand()
      Getter for optional field.
      Returns:
      the job resolved command, if present
    • getCluster

      public Optional<Cluster> getCluster()
      Getter for optional field.
      Returns:
      the job resolved cluster, if present