Enum StatsRegistry.SchedulerStatsEvent
- java.lang.Object
-
- java.lang.Enum<StatsRegistry.SchedulerStatsEvent>
-
- com.github.kagkarlsson.scheduler.stats.StatsRegistry.SchedulerStatsEvent
-
- All Implemented Interfaces:
Serializable,Comparable<StatsRegistry.SchedulerStatsEvent>
- Enclosing interface:
- StatsRegistry
public static enum StatsRegistry.SchedulerStatsEvent extends Enum<StatsRegistry.SchedulerStatsEvent>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETIONHANDLER_ERRORDEAD_EXECUTIONFAILUREHANDLER_ERRORRAN_DETECT_DEADRAN_EXECUTE_DUERAN_UPDATE_HEARTBEATSUNEXPECTED_ERRORUNRESOLVED_TASK
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StatsRegistry.SchedulerStatsEventvalueOf(String name)Returns the enum constant of this type with the specified name.static StatsRegistry.SchedulerStatsEvent[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNEXPECTED_ERROR
public static final StatsRegistry.SchedulerStatsEvent UNEXPECTED_ERROR
-
COMPLETIONHANDLER_ERROR
public static final StatsRegistry.SchedulerStatsEvent COMPLETIONHANDLER_ERROR
-
FAILUREHANDLER_ERROR
public static final StatsRegistry.SchedulerStatsEvent FAILUREHANDLER_ERROR
-
DEAD_EXECUTION
public static final StatsRegistry.SchedulerStatsEvent DEAD_EXECUTION
-
RAN_UPDATE_HEARTBEATS
public static final StatsRegistry.SchedulerStatsEvent RAN_UPDATE_HEARTBEATS
-
RAN_DETECT_DEAD
public static final StatsRegistry.SchedulerStatsEvent RAN_DETECT_DEAD
-
RAN_EXECUTE_DUE
public static final StatsRegistry.SchedulerStatsEvent RAN_EXECUTE_DUE
-
UNRESOLVED_TASK
public static final StatsRegistry.SchedulerStatsEvent UNRESOLVED_TASK
-
-
Method Detail
-
values
public static StatsRegistry.SchedulerStatsEvent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StatsRegistry.SchedulerStatsEvent c : StatsRegistry.SchedulerStatsEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StatsRegistry.SchedulerStatsEvent valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-