com.neeve.aep
Enum AepEngine.ReplicationPolicy

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

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

Enumerates an engine's supported replication policies


Enum Constant Summary
Asynchronous
          With this replication policy, message/state is replicated without soliciting an acknowledgement from the backup engine cluster instances.
Pipelined
          With this replication policy, message/state is replicated soliciting acknowledgements from the backup engine cluster instance(s) but inbound message processing is not blocked waiting for the acknowledgement to be received.
 
Method Summary
static AepEngine.ReplicationPolicy valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AepEngine.ReplicationPolicy[] 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

Asynchronous

public static final AepEngine.ReplicationPolicy Asynchronous
With this replication policy, message/state is replicated without soliciting an acknowledgement from the backup engine cluster instances. Therefore, inbound messages that trigger the state/message replication are acknowledged without waiting from stability acknowledgement from the backup cluster instance(s).


Pipelined

public static final AepEngine.ReplicationPolicy Pipelined
With this replication policy, message/state is replicated soliciting acknowledgements from the backup engine cluster instance(s) but inbound message processing is not blocked waiting for the acknowledgement to be received. Inbound messages are processed in a pipelined manner in parallel with the replication traffic. However, inbound messages that trigger the state/message replication are not acknowledged up stream until stability notifications are received from the backup instance(s).

Method Detail

values

public static AepEngine.ReplicationPolicy[] 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.ReplicationPolicy c : AepEngine.ReplicationPolicy.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.ReplicationPolicy 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 © 2016 Neeve Research, LLC. All Rights Reserved.