This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
What are grains in the context of Orleans?
Grains are streams that help developers process large series of data in real-time.
Grains manage collections of silos and the communication between them.
Grains are virtual actors comprised of a user-defined identity, behavior, and state.
Grains handle implementation details for different storage options for persistent state, such as Azure Blob Storage.
Which of the following methods is NOT defined on the IPersistentState interface?
IPersistentState
WriteStateAsync
ReadStateAsync
ClearStateAsync
DeleteStateAsync
Which attribute should be applied to a grain constructor parameter to enable saving the state of the object?
StateFactory
PersistentState
IGrainWithStringKey
GrainState
Which of the following lists of events accurately represents the order of a grain lifecycle?
Activating → Active → Deactivating → Persisted
Active → Persisted → Recycled
Activating → Inactive → Persisted
Active → Deactivating → Recycled → Initializing
You must answer all questions before checking your work.
Was this page helpful?