Package at.letto.tools.threads
Enum Class TimerCall.RESULT
- All Implemented Interfaces:
Serializable
,Comparable<TimerCall.RESULT>
,Constable
- Enclosing class:
TimerCall
Status des Ergebnisses eines Calls
OK alles hat funktioniert
RUNTIMEEXCEPTION Es hat eine RuntimeException gegeben
EXCEPTION Es hat eine Exception gegeben
ERROR Es hat einen Error gegeben
TIMEOUT Es hat ein Timeout gegeben
TIMEOUTKILLED Es hat ein Timeout gegeben bei dem der Thread nicht korrekt beendet werden konnte, weshalb er interrupted wurde ZOMBIE Es hat ein Timeout gegeben bei dem der Thread nicht korrekt beendet werden konnte. Da der Thread nicht interrupted werden konnte bleibt er als Zombie bestehen.
OK alles hat funktioniert
RUNTIMEEXCEPTION Es hat eine RuntimeException gegeben
EXCEPTION Es hat eine Exception gegeben
ERROR Es hat einen Error gegeben
TIMEOUT Es hat ein Timeout gegeben
TIMEOUTKILLED Es hat ein Timeout gegeben bei dem der Thread nicht korrekt beendet werden konnte, weshalb er interrupted wurde ZOMBIE Es hat ein Timeout gegeben bei dem der Thread nicht korrekt beendet werden konnte. Da der Thread nicht interrupted werden konnte bleibt er als Zombie bestehen.
- Author:
- Werner Damböck
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TimerCall.RESULT
Returns the enum constant of this class with the specified name.static TimerCall.RESULT[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OK
-
RUNTIMEEXCEPTION
-
EXCEPTION
-
ERROR
-
TIMEOUT
-
TIMEOUTKILLED
-
ZOMBIE
-
-
Constructor Details
-
RESULT
private RESULT()
-
-
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
-