Class StoreValuesAndWait
java.lang.Object
io.fluxcapacitor.common.api.Request
io.fluxcapacitor.common.api.Command
io.fluxcapacitor.common.api.keyvalue.StoreValuesAndWait
- All Implemented Interfaces:
JsonType
Deprecated.
Deprecated: This command was used in older versions of Flux to store values and block
until they were persisted.
This pattern is no longer used or emitted by Flux clients and should not be relied upon in new development.
Use StoreValues
with Guarantee.STORED
instead for explicit durability semantics.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Deprecated.Metric representation of the deprecated store call. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Indicates the delivery guarantee required for this command.Deprecated.Optionally specifies a routing key for this command, which may be used to partition work or apply consistent hashing when processed in the Flux platform.toMetric()
Deprecated.Converts this object into a compact metric representation for logging or monitoring.toString()
Deprecated.
-
Constructor Details
-
StoreValuesAndWait
public StoreValuesAndWait()Deprecated.
-
-
Method Details
-
getGuarantee
Deprecated.Description copied from class:Command
Indicates the delivery guarantee required for this command.- Specified by:
getGuarantee
in classCommand
- Returns:
- the
Guarantee
level (e.g.STORED
,SENT
,NONE
)
-
routingKey
Deprecated.Description copied from class:Command
Optionally specifies a routing key for this command, which may be used to partition work or apply consistent hashing when processed in the Flux platform.- Overrides:
routingKey
in classCommand
- Returns:
- a routing key string, or
null
if not specified
-
toString
Deprecated. -
toMetric
Deprecated.Description copied from interface:JsonType
Converts this object into a compact metric representation for logging or monitoring.Used by the Flux client to avoid logging large payloads directly while still tracking platform usage.
- Returns:
- a safe and compact object suitable for serialization to the metrics log
-
StoreValues
instead. This class remains for compatibility but is no longer used.