Package io.dapr.client.domain
Class StateOptions
java.lang.Object
io.dapr.client.domain.StateOptions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static 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.
-