com.ibm.streams.operator.control
Enum ConsistentRegionMXBean.Trigger
- java.lang.Object
-
- java.lang.Enum<ConsistentRegionMXBean.Trigger>
-
- com.ibm.streams.operator.control.ConsistentRegionMXBean.Trigger
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ConsistentRegionMXBean.Trigger>
- Enclosing interface:
- ConsistentRegionMXBean
public static enum ConsistentRegionMXBean.Trigger extends java.lang.Enum<ConsistentRegionMXBean.Trigger>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description OPERATOR_DRIVEN
Region drain is started by the start operator.PERIODIC
Region drain is started periodically.
-
Method Summary
Methods Modifier and Type Method and Description static ConsistentRegionMXBean.Trigger
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ConsistentRegionMXBean.Trigger[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PERIODIC
public static final ConsistentRegionMXBean.Trigger PERIODIC
Region drain is started periodically.
-
OPERATOR_DRIVEN
public static final ConsistentRegionMXBean.Trigger OPERATOR_DRIVEN
Region drain is started by the start operator.
-
-
Method Detail
-
values
public static ConsistentRegionMXBean.Trigger[] 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 (ConsistentRegionMXBean.Trigger c : ConsistentRegionMXBean.Trigger.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConsistentRegionMXBean.Trigger 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 namejava.lang.NullPointerException
- if the argument is null
-
-