Package io.dapr.client.domain
Class StateOptions
java.lang.Object
io.dapr.client.domain.StateOptions
A class representing the state options for Dapr state API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumOptions for Concurrency.static enumOptions for Consistency.static classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionStateOptions(StateOptions.Consistency consistency, StateOptions.Concurrency concurrency) Represents options for a Dapr state API call. -
Method Summary
Modifier and TypeMethodDescriptionReturns state options as a Map of option name to value.
-
Constructor Details
-
StateOptions
Represents options for a Dapr state API call.- Parameters:
consistency- The consistency mode.concurrency- The concurrency mode.
-
-
Method Details
-
getConcurrency
-
getConsistency
-
getStateOptionsAsMap
Returns state options as a Map of option name to value.- Returns:
- A map of state options.
-