com.neeve.aep
Enum AepEngine.EventMultiplexerType

java.lang.Object
  extended by java.lang.Enum<AepEngine.EventMultiplexerType>
      extended by com.neeve.aep.AepEngine.EventMultiplexerType
All Implemented Interfaces:
Serializable, Comparable<AepEngine.EventMultiplexerType>
Enclosing class:
AepEngine

public static enum AepEngine.EventMultiplexerType
extends Enum<AepEngine.EventMultiplexerType>

Enumerates an engine's supported event multiplexer types


Enum Constant Summary
DedicatedThreaded
          Event multiplexer in which a dedicated thread handles all inbound events.
FreeThreadedSerialized
          Event multiplexer where any one of the publishing threads is used to process the events as long as only one of the threads is processing the events at any point in time.
 
Method Summary
static AepEngine.EventMultiplexerType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AepEngine.EventMultiplexerType[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DedicatedThreaded

public static final AepEngine.EventMultiplexerType DedicatedThreaded
Event multiplexer in which a dedicated thread handles all inbound events.

This is the default HA policy


FreeThreadedSerialized

public static final AepEngine.EventMultiplexerType FreeThreadedSerialized
Event multiplexer where any one of the publishing threads is used to process the events as long as only one of the threads is processing the events at any point in time.

Method Detail

values

public static AepEngine.EventMultiplexerType[] 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 (AepEngine.EventMultiplexerType c : AepEngine.EventMultiplexerType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AepEngine.EventMultiplexerType 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 name
NullPointerException - if the argument is null


Copyright © 2015 Neeve Research, LLC. All Rights Reserved.