Enum Class RepositoryReplicationMode

java.lang.Object
java.lang.Enum<RepositoryReplicationMode>
org.j7m.middleware.application.api.replication.RepositoryReplicationMode
All Implemented Interfaces:
Serializable, Comparable<RepositoryReplicationMode>, Constable

public enum RepositoryReplicationMode extends Enum<RepositoryReplicationMode>
Repository replication operating mode.
  • Enum Constant Details

    • LOCAL

      public static final RepositoryReplicationMode LOCAL
      Replication runs locally between J7M repository instances.
    • IN_PROCESS_PEER

      public static final RepositoryReplicationMode IN_PROCESS_PEER
      Replication uses an in-process deterministic peer harness.
  • Method Details

    • values

      public static RepositoryReplicationMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RepositoryReplicationMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null