Class DeleteValue

All Implemented Interfaces:
JsonType

public class DeleteValue extends Command
Command to delete a value from the legacy key-value store by key.

This removes the value associated with the specified key from the key-value store. This command is part of the legacy storage system and is primarily relevant in older Flux applications that still use StoreValues or StoreValueIfAbsent.

Behavior

  • If the key does not exist, the operation is a no-op.
  • The deletion is governed by the specified Guarantee.

Usage Notes

  • For most modern use cases, consider using the document store or SearchClient instead.
  • This command is typically used for cleanup, invalidation, or state transitions in legacy flows.
See Also:
  • Constructor Details

    • DeleteValue

      public DeleteValue()
  • Method Details

    • routingKey

      public String routingKey()
      Routing key used by the Flux platform to shard or partition this command.
      Overrides:
      routingKey in class Command
      Returns:
      the key being deleted