Package org.acemq.rabbitmq.admin
Class FeatureFlagInfo
java.lang.Object
org.acemq.rabbitmq.admin.FeatureFlagInfo
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 Summary
ConstructorsConstructorDescriptionFeatureFlagInfo(String name, String description, String state, String stability) -
Method Summary
-
Constructor Details
-
FeatureFlagInfo
-
-
Method Details
-
name
-
description
-
state
- Returns:
enabled,disabledorunsupported
-
stability
- Returns:
required,stableorexperimental
-
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
-