Enum Class Feature
- All Implemented Interfaces:
Serializable, Comparable<Feature>, Constable
Feature flags for LoomCache protocol versions.
Each feature is introduced in a specific version and remains available in all subsequent versions with the same major version.
Version mapping: - v1.0.0+: BASIC_CACHE, CP_SUBSYSTEM, RESP_PROTOCOL, TRANSACTIONS, NEAR_CACHE, WIRE_COMPRESSION_* - v1.1.0+: PUB_SUB - v1.2.0+: SQL_QUERIES - v1.3.0+: STREAM_PIPELINES
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBasic cache operations (GET, PUT, DELETE).CP subsystem for strong consistency.Near cache functionality.Pub/Sub messaging system.RESP (Redis Serialization Protocol) support.SQL query support.Pipelines for distributed stream processing.Distributed transactions.LZ4-compressed wire message bodies.zstd-compressed wire message bodies. -
Method Summary
-
Enum Constant Details
-
BASIC_CACHE
Basic cache operations (GET, PUT, DELETE). Available since v1.0.0. -
PUB_SUB
Pub/Sub messaging system. Available since v1.1.0. -
SQL_QUERIES
SQL query support. Available since v1.2.0. -
STREAM_PIPELINES
Pipelines for distributed stream processing. Available since v1.3.0. -
CP_SUBSYSTEM
CP subsystem for strong consistency. Available since v1.0.0. -
RESP_PROTOCOL
RESP (Redis Serialization Protocol) support. Available since v1.0.0. -
TRANSACTIONS
Distributed transactions. Available since v1.0.0. -
NEAR_CACHE
Near cache functionality. Available since v1.0.0. -
WIRE_COMPRESSION_LZ4
LZ4-compressed wire message bodies. Available since v1.0.0. -
WIRE_COMPRESSION_ZSTD
zstd-compressed wire message bodies. Available since v1.0.0.
-
-
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
-
introducedIn
Get the version in which this feature was introduced.- Returns:
- the introducing version
-