Enum Class KillService.KillSource

java.lang.Object
java.lang.Enum<KillService.KillSource>
com.netflix.genie.agent.execution.services.KillService.KillSource
All Implemented Interfaces:
Serializable, Comparable<KillService.KillSource>, Constable
Enclosing interface:
KillService

public static enum KillService.KillSource extends Enum<KillService.KillSource>
Enumeration for the source of a request to kill the job.
  • Enum Constant Details

    • SYSTEM_SIGNAL

      public static final KillService.KillSource SYSTEM_SIGNAL
      A system signal (SIGINT), for example user ctrl-c or system shutdown.
    • API_KILL_REQUEST

      public static final KillService.KillSource API_KILL_REQUEST
      A request to the server, forwarded to the agent.
    • TIMEOUT

      public static final KillService.KillSource TIMEOUT
      The job has exceeded its max execution duration.
    • FILES_LIMIT

      public static final KillService.KillSource FILES_LIMIT
      The job has exceeded one of the files limit (files count, file size, etc.).
    • REMOTE_STATUS_MONITOR

      public static final KillService.KillSource REMOTE_STATUS_MONITOR
      The job status was changed server-side while the job was running.
  • Method Details

    • values

      public static KillService.KillSource[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static KillService.KillSource valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null