Class FeatureFlagInfo

java.lang.Object
org.acemq.rabbitmq.admin.FeatureFlagInfo

public final class FeatureFlagInfo extends Object
One feature flag, and whether it is enabled.

These gate an upgrade. A newer RabbitMQ will refuse to join a cluster, or refuse to start, when a required flag is still disabled — so the question "can we upgrade yet" is answered here and nowhere else.

  • Constructor Details

  • Method Details

    • name

      public String name()
    • description

      public String description()
    • state

      public String state()
      Returns:
      enabled, disabled or unsupported
    • stability

      public String stability()
      Returns:
      required, stable or experimental
    • isEnabled

      public boolean isEnabled()
    • isRequired

      public boolean isRequired()
      Returns:
      whether this flag must be enabled before the next major upgrade. A required flag that is still disabled will stop that upgrade, and this is the only place it is visible beforehand
    • toString

      public String toString()
      Overrides:
      toString in class Object