TaskMode (samza-api 1.9.0-SNAPSHOT API) JavaScript is disabled on your browser. Skip navigation links Overview Package Class Tree Deprecated Index Help Prev Class Next Class Frames No Frames All Classes Summary:  Nested |  Enum Constants |  Field |  Method Detail:  Enum Constants |  Field |  Method org.apache.samza.job.model Enum TaskMode java.lang.Object java.lang.Enum<TaskMode> org.apache.samza.job.model.TaskMode All Implemented Interfaces: java.io.Serializable, java.lang.Comparable<TaskMode> public enum TaskMode extends java.lang.Enum<TaskMode> This defines the logical mode of a taskInstance. Active is the defacto mode for a task, i.e., tasks processing input, reading/writing state, producing output, etc. Standby is the mode for tasks, that maintain warmed-up KV state by reading from its changelog. Enum Constant Summary Enum Constants  Enum Constant and Description Active  Standby  Method Summary All Methods Static Methods Instance Methods Concrete Methods  Modifier and Type Method and Description java.lang.String toString()  static TaskMode valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. static TaskMode[] values() Returns an array containing the constants of this enum type, in the order they are declared. Methods inherited from class java.lang.Enum clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf Methods inherited from class java.lang.Object getClass, notify, notifyAll, wait, wait, wait Enum Constant Detail Active public static final TaskMode Active Standby public static final TaskMode Standby Method Detail values public static TaskMode[] 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 (TaskMode c : TaskMode.values())   System.out.println(c); Returns: an array containing the constants of this enum type, in the order they are declared valueOf public static TaskMode valueOf(java.lang.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: java.lang.IllegalArgumentException - if this enum type has no constant with the specified name java.lang.NullPointerException - if the argument is null toString public java.lang.String toString() Overrides: toString in class java.lang.Enum<TaskMode> Skip navigation links Overview Package Class Tree Deprecated Index Help Prev Class Next Class Frames No Frames All Classes Summary:  Nested |  Enum Constants |  Field |  Method Detail:  Enum Constants |  Field |  Method