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
Enumeration for the source of a request to kill the job.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA request to the server, forwarded to the agent.The job has exceeded one of the files limit (files count, file size, etc.).The job status was changed server-side while the job was running.A system signal (SIGINT), for example user ctrl-c or system shutdown.The job has exceeded its max execution duration. -
Method Summary
Modifier and TypeMethodDescriptionstatic KillService.KillSourceReturns the enum constant of this class with the specified name.static KillService.KillSource[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SYSTEM_SIGNAL
A system signal (SIGINT), for example user ctrl-c or system shutdown. -
API_KILL_REQUEST
A request to the server, forwarded to the agent. -
TIMEOUT
The job has exceeded its max execution duration. -
FILES_LIMIT
The job has exceeded one of the files limit (files count, file size, etc.). -
REMOTE_STATUS_MONITOR
The job status was changed server-side while the job was running.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-