Share via


StatePersistenceAttribute Interface

public interface StatePersistenceAttribute

Indicates whether actor state should be volatile (in-memory only), persisted, or not stored at all. The store type given to this attribute must match the type of state provider used in the actor service.

Method Summary

Modifier and Type Method and Description
StatePersistence statePersistence()

Get or sets the enum representing type of state store to use for the actor.

Method Details

statePersistence

public StatePersistence statePersistence()

Get or sets the enum representing type of state store to use for the actor.

Returns:

StatePersistence representing type of state store to use for the actor.

Applies to