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 |
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 |
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. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
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
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 name
java.lang.NullPointerException
- if the argument is null
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<ConnectMode>
fromString
public static ConnectMode fromString(java.lang.String s)
Submit a bug or feature
Copyright (c) 2013-2014 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its Subsidiaries and or/its Affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.