Package com.apama.engine
Enum ConnectMode
- java.lang.Object
-
- java.lang.Enum<ConnectMode>
-
- com.apama.engine.ConnectMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ConnectMode>
public enum ConnectMode extends java.lang.Enum<ConnectMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LEGACY
Legacy mode: A single connection between any two components and all events are delivered to the target on the default channel.PARALLEL
Parallel mode: A connection per channel and events are delivered on that channel to the target.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConnectMode
fromString(java.lang.String s)
java.lang.String
toString()
static ConnectMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ConnectMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEGACY
public static final ConnectMode LEGACY
Legacy mode: A single connection between any two components and all events are delivered to the target on the default channel. For compatibility with Apama before version 5.2
-
PARALLEL
public static final ConnectMode PARALLEL
Parallel mode: A connection per channel and events are delivered on that channel to the target. Recommended mode as of Apama 5.2
-
-
Method Detail
-
values
public static ConnectMode[] 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 (ConnectMode c : ConnectMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectMode 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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<ConnectMode>
-
fromString
public static ConnectMode fromString(java.lang.String s)
-
-