Package org.jboss.as.controller.registry
Enum Class AttributeAccess.Flag
- All Implemented Interfaces:
Serializable,Comparable<AttributeAccess.Flag>,Constable,Predicate<AttributeAccess>
- Enclosing class:
- AttributeAccess
public static enum AttributeAccess.Flag
extends Enum<AttributeAccess.Flag>
implements Predicate<AttributeAccess>
Flags to indicate special characteristics of an attribute
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe attribute is an alias to something elseThe attribute represents a Counter metric, a cumulative metric that represents a single monotonically increasing counter whose value can only increase or be reset to zero on restart.Support for use of an expression for the value of this attribute is deprecated and may be removed in a future release.The attribute represents a Gauge metric, a single numerical value that can arbitrarily go up and down.A modification to the attribute can only be applied to the runtime via a restart of all services, but does not require a full jvm restartA modification to the attribute can only be applied to the runtime via a full jvm restartA modification to the attribute can be applied to the runtime without requiring a restartA modification to the attribute can only be applied to the runtime via a restart of services, associated with the attribute's resource, but does not require a restart of all services or a full jvm restartAn attribute which does not require runtime MSC services to be read or written.An attribute whose value is stored in the persistent configuration.An attribute whose value is only stored in runtime services, and isn't stored in the persistent configuration. -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<AttributeAccess.Flag>immutableSetOf(AttributeAccess.Flag... flags) booleantest(AttributeAccess attribute) static AttributeAccess.FlagReturns the enum constant of this class with the specified name.static AttributeAccess.Flag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RESTART_NONE
A modification to the attribute can be applied to the runtime without requiring a restart -
RESTART_JVM
A modification to the attribute can only be applied to the runtime via a full jvm restart -
RESTART_ALL_SERVICES
A modification to the attribute can only be applied to the runtime via a restart of all services, but does not require a full jvm restart -
RESTART_RESOURCE_SERVICES
A modification to the attribute can only be applied to the runtime via a restart of services, associated with the attribute's resource, but does not require a restart of all services or a full jvm restart -
STORAGE_CONFIGURATION
An attribute whose value is stored in the persistent configuration. The value may also be stored in runtime services. -
STORAGE_RUNTIME
An attribute whose value is only stored in runtime services, and isn't stored in the persistent configuration. -
ALIAS
The attribute is an alias to something else -
RUNTIME_SERVICE_NOT_REQUIRED
An attribute which does not require runtime MSC services to be read or written. This flag can be used in conjunction with STORAGE_RUNTIME to specify that a runtime attribute can work in the absence of runtime services. -
EXPRESSIONS_DEPRECATED
Support for use of an expression for the value of this attribute is deprecated and may be removed in a future release. -
GAUGE_METRIC
The attribute represents a Gauge metric, a single numerical value that can arbitrarily go up and down. If the attribute is registered as a metric without specifying theGAUGE_METRICorCOUNTER_METRICflag, it is considered as a gauge.GAUGE_METRICandCOUNTER_METRICare mutually exclusive. -
COUNTER_METRIC
The attribute represents a Counter metric, a cumulative metric that represents a single monotonically increasing counter whose value can only increase or be reset to zero on restart.GAUGE_METRICandCOUNTER_METRICare mutually exclusive.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
immutableSetOf
-
test
- Specified by:
testin interfacePredicate<AttributeAccess>
-