Enum Class SagaBackingServicesMode

java.lang.Object
java.lang.Enum<SagaBackingServicesMode>
com.persequor.extension.migration.SagaBackingServicesMode
All Implemented Interfaces:
Serializable, Comparable<SagaBackingServicesMode>, Constable

public enum SagaBackingServicesMode extends Enum<SagaBackingServicesMode>
  • Enum Constant Details

    • STANDARD

      public static final SagaBackingServicesMode STANDARD
      STANDARD will run SAGA with the following default configuration: (UnboundedStorageType.Cassandra, IndexType.Elastic, QueueingType.Rabbit, BoundedStorageType.Sql, CoordinatorType.ZooKeeper). Each individual component can be changed as well.
    • SQL_ONLY

      public static final SagaBackingServicesMode SQL_ONLY
      SQL_ONLY will run SAGA with the following default configuration: (UnboundedStorageType.Sql, IndexType.Sql, QueueingType.Sql, BoundedStorageType.Sql, CoordinatorType.Sql). Each individual component can be changed as well.
  • Method Details

    • values

      public static SagaBackingServicesMode[] 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 SagaBackingServicesMode 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
    • getDefaultConfig

      public BackingServicesConfig getDefaultConfig()