com.neeve.aep
Enum AepEngine.MessageSendPolicy

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

Deprecated.

@Deprecated
public static enum AepEngine.MessageSendPolicy
extends Enum<AepEngine.MessageSendPolicy>

Enumerates an engine's outbound message send policy


Enum Constant Summary
ReplicateBeforeSend
          Deprecated. This policy causes state/messages to be replicated before sending outbound messages triggered by the processing of inbound messages.
 
Method Summary
static AepEngine.MessageSendPolicy valueOf(String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static AepEngine.MessageSendPolicy[] values()
          Deprecated. 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

ReplicateBeforeSend

public static final AepEngine.MessageSendPolicy ReplicateBeforeSend
Deprecated. 
This policy causes state/messages to be replicated before sending outbound messages triggered by the processing of inbound messages. In other words, for event sourcing, this policy causes an inbound message to be processed, the message replicated for processing to the back instance(s) and then outbound messages triggered by the processing of the message to be sent outbound (after processing acknowledgments have been received from all back instance(s). For state replication, this policy causes can inbound message to be processed, the state changes triggered by the processing of the inbound message to be replicated to the backup instance(s) and then the outbound messages triggered by the processing of the inbound message to be sent (after receiving state replication stability notifications from the backup instance(s)).

Method Detail

values

public static AepEngine.MessageSendPolicy[] values()
Deprecated. 
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.MessageSendPolicy c : AepEngine.MessageSendPolicy.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.MessageSendPolicy valueOf(String name)
Deprecated. 
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 © 2016 Neeve Research, LLC. All Rights Reserved.