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 public class StoreValuesAndWait extends Command
Deprecated.
Use StoreValues instead. This class remains for compatibility but is no longer used.
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 Classes
    Modifier and Type
    Class
    Description
    static class 
    Deprecated.
    Metric representation of the deprecated store call.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    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.
    Deprecated.
    Converts this object into a compact metric representation for logging or monitoring.
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • StoreValuesAndWait

      public StoreValuesAndWait()
      Deprecated.
  • Method Details

    • getGuarantee

      public Guarantee getGuarantee()
      Deprecated.
      Description copied from class: Command
      Indicates the delivery guarantee required for this command.
      Specified by:
      getGuarantee in class Command
      Returns:
      the Guarantee level (e.g. STORED, SENT, NONE)
    • routingKey

      public String 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 class Command
      Returns:
      a routing key string, or null if not specified
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • toMetric

      public Object 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