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
Modifier and TypeClassDescriptionstatic enum
Options for Concurrency.static enum
Options for Consistency.static class
static class
-
Constructor Summary
ConstructorDescriptionStateOptions
(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.
-