Class DeleteValue
java.lang.Object
io.fluxcapacitor.common.api.Request
io.fluxcapacitor.common.api.Command
io.fluxcapacitor.common.api.keyvalue.DeleteValue
- All Implemented Interfaces:
JsonType
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRouting key used by the Flux platform to shard or partition this command.Methods inherited from class io.fluxcapacitor.common.api.Command
getGuarantee
-
Constructor Details
-
DeleteValue
public DeleteValue()
-
-
Method Details
-
routingKey
Routing key used by the Flux platform to shard or partition this command.- Overrides:
routingKey
in classCommand
- Returns:
- the key being deleted
-